diff --git a/doc/en/writing_plugins.rst b/doc/en/writing_plugins.rst index 74533e273..03c4c78b0 100644 --- a/doc/en/writing_plugins.rst +++ b/doc/en/writing_plugins.rst @@ -293,7 +293,7 @@ can use like this:: pass """) result = testdir.runpytest("--verbose") - result.fnmatch_lines(""" + result.stdout.fnmatch_lines(""" test_example* """)