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

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