summaryrefslogtreecommitdiff
path: root/testing/test_reports.py
diff options
context:
space:
mode:
authorFlorian Dahlitz <f2dahlitz@freenet.de>2020-05-26 10:31:53 +0200
committerFlorian Dahlitz <f2dahlitz@freenet.de>2020-05-26 10:31:53 +0200
commit95bd232e57603329e16bb3a4c694e4fe78655c7b (patch)
tree8dc14533d2ee9303601038065d9808da73b128b9 /testing/test_reports.py
parent5ebcb34fb595c7652ccda889f69b2d4e3ca6443b (diff)
downloadpytest-95bd232e57603329e16bb3a4c694e4fe78655c7b.tar.gz
Apply suggestions from @bluetech
Diffstat (limited to 'testing/test_reports.py')
-rw-r--r--testing/test_reports.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/testing/test_reports.py b/testing/test_reports.py
index 64d86e953..9e4e7d09d 100644
--- a/testing/test_reports.py
+++ b/testing/test_reports.py
@@ -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: