From 0c53761e953b4986ae3d8c669fd6c7aed7a8b0c1 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 4 Nov 2019 16:21:13 -0300 Subject: [PATCH] Fix tests for pytest features branch --- testing/acceptance_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py index e3a6f5b..4537fd0 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*"] )