Skip to content

Commit 0c53761

Browse files
committed
Fix tests for pytest features branch
1 parent f7e7d87 commit 0c53761

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

testing/acceptance_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ def test_func(request):
784784
)
785785
)
786786
result = testdir.runpytest(n)
787-
result.stdout.fnmatch_lines(["*this is a warning*", "*1 passed, 1 warnings*"])
787+
result.stdout.fnmatch_lines(["*this is a warning*", "*1 passed, 1 warning*"])
788788

789789
@pytest.mark.parametrize("n", ["-n0", "-n1"])
790790
def test_custom_subclass(self, testdir, n):
@@ -808,7 +808,7 @@ def test_func(request):
808808
)
809809
testdir.syspathinsert()
810810
result = testdir.runpytest(n)
811-
result.stdout.fnmatch_lines(["*MyWarning*", "*1 passed, 1 warnings*"])
811+
result.stdout.fnmatch_lines(["*MyWarning*", "*1 passed, 1 warning*"])
812812

813813
@pytest.mark.parametrize("n", ["-n0", "-n1"])
814814
def test_unserializable_arguments(self, testdir, n):
@@ -825,7 +825,7 @@ def test_func(tmpdir):
825825
)
826826
testdir.syspathinsert()
827827
result = testdir.runpytest(n)
828-
result.stdout.fnmatch_lines(["*UserWarning*foo.txt*", "*1 passed, 1 warnings*"])
828+
result.stdout.fnmatch_lines(["*UserWarning*foo.txt*", "*1 passed, 1 warning*"])
829829

830830
@pytest.mark.parametrize("n", ["-n0", "-n1"])
831831
def test_unserializable_warning_details(self, testdir, n):
@@ -857,7 +857,7 @@ def test_func(tmpdir):
857857
testdir.syspathinsert()
858858
result = testdir.runpytest(n)
859859
result.stdout.fnmatch_lines(
860-
["*ResourceWarning*unclosed*", "*1 passed, 1 warnings*"]
860+
["*ResourceWarning*unclosed*", "*1 passed, 1 warning*"]
861861
)
862862

863863

0 commit comments

Comments
 (0)