Blame SOURCES/pytest-7.1.3-fix-xfails.patch

396c52
diff -up pytest-7.1.3/testing/test_debugging.py.orig pytest-7.1.3/testing/test_debugging.py
396c52
--- pytest-7.1.3/testing/test_debugging.py.orig	2022-09-02 13:12:55.000000000 +0200
396c52
+++ pytest-7.1.3/testing/test_debugging.py	2022-09-05 16:40:54.921946205 +0200
396c52
@@ -353,7 +353,7 @@ class TestPDB:
396c52
         result = pytester.runpytest_subprocess("--pdb", ".")
396c52
         result.stdout.fnmatch_lines(["-> import unknown"])
396c52
 
396c52
-    @pytest.mark.xfail(reason="#10042")
396c52
+    @pytest.mark.xfail(reason="#10042", strict=False)
396c52
     def test_pdb_interaction_capturing_simple(self, pytester: Pytester) -> None:
396c52
         p1 = pytester.makepyfile(
396c52
             """
396c52
@@ -522,7 +522,7 @@ class TestPDB:
396c52
         assert "BdbQuit" not in rest
396c52
         assert "UNEXPECTED EXCEPTION" not in rest
396c52
 
396c52
-    @pytest.mark.xfail(reason="#10042")
396c52
+    @pytest.mark.xfail(reason="#10042", strict=False)
396c52
     def test_pdb_interaction_capturing_twice(self, pytester: Pytester) -> None:
396c52
         p1 = pytester.makepyfile(
396c52
             """
396c52
@@ -558,7 +558,7 @@ class TestPDB:
396c52
         assert "1 failed" in rest
396c52
         self.flush(child)
396c52
 
396c52
-    @pytest.mark.xfail(reason="#10042")
396c52
+    @pytest.mark.xfail(reason="#10042", strict=False)
396c52
     def test_pdb_with_injected_do_debug(self, pytester: Pytester) -> None:
396c52
         """Simulates pdbpp, which injects Pdb into do_debug, and uses
396c52
         self.__class__ in do_continue.
396c52
@@ -1003,7 +1003,7 @@ class TestDebuggingBreakpoints:
396c52
         assert "reading from stdin while output" not in rest
396c52
         TestPDB.flush(child)
396c52
 
396c52
-    @pytest.mark.xfail(reason="#10042")
396c52
+    @pytest.mark.xfail(reason="#10042",strict=False)
396c52
     def test_pdb_not_altered(self, pytester: Pytester) -> None:
396c52
         p1 = pytester.makepyfile(
396c52
             """
396c52
@@ -1163,7 +1163,7 @@ def test_quit_with_swallowed_SystemExit(
396c52
 
396c52
 
396c52
 @pytest.mark.parametrize("fixture", ("capfd", "capsys"))
396c52
-@pytest.mark.xfail(reason="#10042")
396c52
+@pytest.mark.xfail(reason="#10042", strict=False)
396c52
 def test_pdb_suspends_fixture_capturing(pytester: Pytester, fixture: str) -> None:
396c52
     """Using "-s" with pytest should suspend/resume fixture capturing."""
396c52
     p1 = pytester.makepyfile(