account for quotes in error messages
This commit is contained in:
parent
43de6c270f
commit
2618e3640f
|
@ -89,7 +89,7 @@ class TestGeneralUsage:
|
|||
result = testdir.runpytest(p)
|
||||
result.stdout.fnmatch_lines([
|
||||
#XXX on jython this fails: "> import import_fails",
|
||||
"E ImportError: No module named does_not_work",
|
||||
"E ImportError: No module named *does_not_work*",
|
||||
])
|
||||
assert result.ret == 1
|
||||
|
||||
|
|
|
@ -533,7 +533,7 @@ class TestGenericReporting:
|
|||
result = testdir.runpytest(*option.args)
|
||||
result.stdout.fnmatch_lines([
|
||||
"> import xyz",
|
||||
"E ImportError: No module named xyz",
|
||||
"E ImportError: No module named *xyz*",
|
||||
"*1 error*",
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in New Issue