update test
This commit is contained in:
parent
7855fdefd2
commit
03c1e51f8e
|
@ -1302,4 +1302,6 @@ def test_function_return_non_none_warning(testdir) -> None:
|
|||
"""
|
||||
)
|
||||
res = testdir.runpytest()
|
||||
res.stdout.fnmatch_lines(["*PytestReturnNotNoneWarning: Test function returning*"])
|
||||
res.stdout.fnmatch_lines(
|
||||
["*PytestReturnNotNoneWarning: Expected None, but the test returned*"]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue