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

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