Apply suggestions from @bluetech

This commit is contained in:
Florian Dahlitz
2020-05-26 10:31:53 +02:00
parent 5ebcb34fb5
commit 95bd232e57
2 changed files with 4 additions and 11 deletions

View File

@@ -404,9 +404,7 @@ class TestReportSerialization:
result.stdout.fnmatch_lines(
["E ModuleNotFoundError: No module named 'unknown'"]
)
result.stdout.no_fnmatch_line(
"ERROR - _pytest.config.ConftestImportFailure: ModuleNotFoundError:*"
)
result.stdout.no_fnmatch_line("ERROR - *ConftestImportFailure*")
class TestHooks: