Fix py35 CI run

This commit is contained in:
Florian Dahlitz 2020-05-27 09:27:13 +02:00
parent 95bd232e57
commit 5b9924e144
No known key found for this signature in database
GPG Key ID: 628E551560123F45
1 changed files with 1 additions and 3 deletions

View File

@ -401,9 +401,7 @@ class TestReportSerialization:
sub_dir.join("conftest").new(ext=".py").write("import unknown") sub_dir.join("conftest").new(ext=".py").write("import unknown")
result = testdir.runpytest_subprocess(".") result = testdir.runpytest_subprocess(".")
result.stdout.fnmatch_lines( result.stdout.fnmatch_lines(["E *Error: No module named 'unknown'"])
["E ModuleNotFoundError: No module named 'unknown'"]
)
result.stdout.no_fnmatch_line("ERROR - *ConftestImportFailure*") result.stdout.no_fnmatch_line("ERROR - *ConftestImportFailure*")