@@ -372,7 +372,7 @@ def test_pdb_prevent_ConftestImportFailure_hiding_exception(
372
372
result = pytester .runpytest_subprocess ("--pdb" , "." )
373
373
result .stdout .fnmatch_lines (["-> import unknown" ])
374
374
375
- @pytest .mark .xfail (reason = "#10042" )
375
+ @pytest .mark .xfail (reason = "#10042" , strict = False )
376
376
def test_pdb_interaction_capturing_simple (self , pytester : Pytester ) -> None :
377
377
p1 = pytester .makepyfile (
378
378
"""
@@ -541,7 +541,7 @@ def function_1():
541
541
assert "BdbQuit" not in rest
542
542
assert "UNEXPECTED EXCEPTION" not in rest
543
543
544
- @pytest .mark .xfail (reason = "#10042" )
544
+ @pytest .mark .xfail (reason = "#10042" , strict = False )
545
545
def test_pdb_interaction_capturing_twice (self , pytester : Pytester ) -> None :
546
546
p1 = pytester .makepyfile (
547
547
"""
@@ -577,7 +577,7 @@ def test_1():
577
577
assert "1 failed" in rest
578
578
self .flush (child )
579
579
580
- @pytest .mark .xfail (reason = "#10042" )
580
+ @pytest .mark .xfail (reason = "#10042" , strict = False )
581
581
def test_pdb_with_injected_do_debug (self , pytester : Pytester ) -> None :
582
582
"""Simulates pdbpp, which injects Pdb into do_debug, and uses
583
583
self.__class__ in do_continue.
@@ -1022,7 +1022,7 @@ def test_1():
1022
1022
assert "reading from stdin while output" not in rest
1023
1023
TestPDB .flush (child )
1024
1024
1025
- @pytest .mark .xfail (reason = "#10042" )
1025
+ @pytest .mark .xfail (reason = "#10042" , strict = False )
1026
1026
def test_pdb_not_altered (self , pytester : Pytester ) -> None :
1027
1027
p1 = pytester .makepyfile (
1028
1028
"""
@@ -1182,7 +1182,7 @@ def test_2():
1182
1182
1183
1183
1184
1184
@pytest .mark .parametrize ("fixture" , ("capfd" , "capsys" ))
1185
- @pytest .mark .xfail (reason = "#10042" )
1185
+ @pytest .mark .xfail (reason = "#10042" , strict = False )
1186
1186
def test_pdb_suspends_fixture_capturing (pytester : Pytester , fixture : str ) -> None :
1187
1187
"""Using "-s" with pytest should suspend/resume fixture capturing."""
1188
1188
p1 = pytester .makepyfile (
0 commit comments