Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheukting committed May 13, 2022
1 parent 7855fde commit ffad3f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testing/acceptance_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1302,4 +1302,6 @@ def test_stuff():
"""
)
res = testdir.runpytest()
res.stdout.fnmatch_lines(["*PytestReturnNotNoneWarning: Test function returning*"])
res.stdout.fnmatch_lines(
["*PytestReturnNotNoneWarning:*", "*Expected None, but the test returned*"]
)

0 comments on commit ffad3f8

Please sign in to comment.