Skip to content

Commit 0baf5e1

Browse files
committed
Fix test that expected "unknown hook" error on stderr
1 parent 83c508e commit 0baf5e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_helpconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def pytest_hello(xyz):
3333
""")
3434
result = testdir.runpytest()
3535
assert result.ret != 0
36-
result.stderr.fnmatch_lines([
36+
result.stdout.fnmatch_lines([
3737
'*unknown hook*pytest_hello*'
3838
])
3939

0 commit comments

Comments
 (0)