Update acceptance_test.py

This commit is contained in:
Cheuk Ting Ho 2022-05-17 15:08:38 +01:00 committed by GitHub
parent ff3d9b26c7
commit c0b368df83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1303,5 +1303,5 @@ def test_function_return_non_none_warning(testdir) -> None:
)
res = testdir.runpytest()
res.stdout.fnmatch_lines(
["*PytestReturnNotNoneWarning: Expected None, but the test returned*"]
["*Did you mean to use `assert` instead of `return`?*"]
)