diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py index 716d3c3ce..dcdf5b93e 100644 --- a/testing/acceptance_test.py +++ b/testing/acceptance_test.py @@ -411,7 +411,7 @@ class TestInvocationVariants: result = testdir.runpytest("--pyargs", "tpkg.test_hello") assert result.ret != 0 result.stderr.fnmatch_lines([ - "*file*not*found*test_hello*", + "*not*found*test_hello*", ]) def test_cmdline_python_package_not_exists(self, testdir):