@@ -784,7 +784,7 @@ def test_func(request):
784
784
)
785
785
)
786
786
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 *" ])
788
788
789
789
@pytest .mark .parametrize ("n" , ["-n0" , "-n1" ])
790
790
def test_custom_subclass (self , testdir , n ):
@@ -808,7 +808,7 @@ def test_func(request):
808
808
)
809
809
testdir .syspathinsert ()
810
810
result = testdir .runpytest (n )
811
- result .stdout .fnmatch_lines (["*MyWarning*" , "*1 passed, 1 warnings *" ])
811
+ result .stdout .fnmatch_lines (["*MyWarning*" , "*1 passed, 1 warning *" ])
812
812
813
813
@pytest .mark .parametrize ("n" , ["-n0" , "-n1" ])
814
814
def test_unserializable_arguments (self , testdir , n ):
@@ -825,7 +825,7 @@ def test_func(tmpdir):
825
825
)
826
826
testdir .syspathinsert ()
827
827
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 *" ])
829
829
830
830
@pytest .mark .parametrize ("n" , ["-n0" , "-n1" ])
831
831
def test_unserializable_warning_details (self , testdir , n ):
@@ -857,7 +857,7 @@ def test_func(tmpdir):
857
857
testdir .syspathinsert ()
858
858
result = testdir .runpytest (n )
859
859
result .stdout .fnmatch_lines (
860
- ["*ResourceWarning*unclosed*" , "*1 passed, 1 warnings *" ]
860
+ ["*ResourceWarning*unclosed*" , "*1 passed, 1 warning *" ]
861
861
)
862
862
863
863
0 commit comments