Skip to content

Commit 5b9924e

Browse files
Fix py35 CI run
1 parent 95bd232 commit 5b9924e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

testing/test_reports.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,7 @@ def test_report_prevent_ConftestImportFailure_hiding_exception(self, testdir):
401401
sub_dir.join("conftest").new(ext=".py").write("import unknown")
402402

403403
result = testdir.runpytest_subprocess(".")
404-
result.stdout.fnmatch_lines(
405-
["E ModuleNotFoundError: No module named 'unknown'"]
406-
)
404+
result.stdout.fnmatch_lines(["E *Error: No module named 'unknown'"])
407405
result.stdout.no_fnmatch_line("ERROR - *ConftestImportFailure*")
408406

409407

0 commit comments

Comments
 (0)