diff options
Diffstat (limited to 'community/py3-pytest-xdist/fix-acceptance-tests.patch')
-rw-r--r-- | community/py3-pytest-xdist/fix-acceptance-tests.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/py3-pytest-xdist/fix-acceptance-tests.patch b/community/py3-pytest-xdist/fix-acceptance-tests.patch new file mode 100644 index 00000000000..5d039862e7a --- /dev/null +++ b/community/py3-pytest-xdist/fix-acceptance-tests.patch @@ -0,0 +1,40 @@ +diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py +index 4537fd0bed..e3a6f5b73c 100644 +--- a/testing/acceptance_test.py ++++ b/testing/acceptance_test.py +@@ -784,7 +784,7 @@ class TestWarnings: + ) + ) + result = testdir.runpytest(n) +- result.stdout.fnmatch_lines(["*this is a warning*", "*1 passed, 1 warnings*"]) ++ result.stdout.fnmatch_lines(["*this is a warning*", "*1 passed, 1 warning*"]) + + @pytest.mark.parametrize("n", ["-n0", "-n1"]) + def test_custom_subclass(self, testdir, n): +@@ -808,7 +808,7 @@ class TestWarnings: + ) + testdir.syspathinsert() + result = testdir.runpytest(n) +- result.stdout.fnmatch_lines(["*MyWarning*", "*1 passed, 1 warnings*"]) ++ result.stdout.fnmatch_lines(["*MyWarning*", "*1 passed, 1 warning*"]) + + @pytest.mark.parametrize("n", ["-n0", "-n1"]) + def test_unserializable_arguments(self, testdir, n): +@@ -825,7 +825,7 @@ class TestWarnings: + ) + testdir.syspathinsert() + result = testdir.runpytest(n) +- result.stdout.fnmatch_lines(["*UserWarning*foo.txt*", "*1 passed, 1 warnings*"]) ++ result.stdout.fnmatch_lines(["*UserWarning*foo.txt*", "*1 passed, 1 warning*"]) + + @pytest.mark.parametrize("n", ["-n0", "-n1"]) + def test_unserializable_warning_details(self, testdir, n): +@@ -857,7 +857,7 @@ class TestWarnings: + testdir.syspathinsert() + result = testdir.runpytest(n) + result.stdout.fnmatch_lines( +- ["*ResourceWarning*unclosed*", "*1 passed, 1 warnings*"] ++ ["*ResourceWarning*unclosed*", "*1 passed, 1 warning*"] + ) + + |