relax error string matching

This commit is contained in:
holger krekel 2011-09-21 06:21:48 +02:00
parent 2bc4065a00
commit eaec527a60
1 changed files with 1 additions and 1 deletions

View File

@ -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):