account for quotes in error messages
This commit is contained in:
@@ -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*",
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user