relax error string matching
This commit is contained in:
parent
2bc4065a00
commit
eaec527a60
|
@ -411,7 +411,7 @@ class TestInvocationVariants:
|
||||||
result = testdir.runpytest("--pyargs", "tpkg.test_hello")
|
result = testdir.runpytest("--pyargs", "tpkg.test_hello")
|
||||||
assert result.ret != 0
|
assert result.ret != 0
|
||||||
result.stderr.fnmatch_lines([
|
result.stderr.fnmatch_lines([
|
||||||
"*file*not*found*test_hello*",
|
"*not*found*test_hello*",
|
||||||
])
|
])
|
||||||
|
|
||||||
def test_cmdline_python_package_not_exists(self, testdir):
|
def test_cmdline_python_package_not_exists(self, testdir):
|
||||||
|
|
Loading…
Reference in New Issue