Fix py35 CI run
This commit is contained in:
parent
95bd232e57
commit
5b9924e144
|
@ -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*")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue