Skip to content

Commit 5ef064b

Browse files
authored
Mark pdb+expect tests as xfail for now (#10043)
Related to #10042
2 parents 96412d1 + d6b837e commit 5ef064b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

testing/test_debugging.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ def test_pdb_prevent_ConftestImportFailure_hiding_exception(
353353
result = pytester.runpytest_subprocess("--pdb", ".")
354354
result.stdout.fnmatch_lines(["-> import unknown"])
355355

356+
@pytest.mark.xfail(reason="#10042")
356357
def test_pdb_interaction_capturing_simple(self, pytester: Pytester) -> None:
357358
p1 = pytester.makepyfile(
358359
"""
@@ -521,6 +522,7 @@ def function_1():
521522
assert "BdbQuit" not in rest
522523
assert "UNEXPECTED EXCEPTION" not in rest
523524

525+
@pytest.mark.xfail(reason="#10042")
524526
def test_pdb_interaction_capturing_twice(self, pytester: Pytester) -> None:
525527
p1 = pytester.makepyfile(
526528
"""
@@ -556,6 +558,7 @@ def test_1():
556558
assert "1 failed" in rest
557559
self.flush(child)
558560

561+
@pytest.mark.xfail(reason="#10042")
559562
def test_pdb_with_injected_do_debug(self, pytester: Pytester) -> None:
560563
"""Simulates pdbpp, which injects Pdb into do_debug, and uses
561564
self.__class__ in do_continue.
@@ -1000,6 +1003,7 @@ def test_1():
10001003
assert "reading from stdin while output" not in rest
10011004
TestPDB.flush(child)
10021005

1006+
@pytest.mark.xfail(reason="#10042")
10031007
def test_pdb_not_altered(self, pytester: Pytester) -> None:
10041008
p1 = pytester.makepyfile(
10051009
"""
@@ -1159,6 +1163,7 @@ def test_2():
11591163

11601164

11611165
@pytest.mark.parametrize("fixture", ("capfd", "capsys"))
1166+
@pytest.mark.xfail(reason="#10042")
11621167
def test_pdb_suspends_fixture_capturing(pytester: Pytester, fixture: str) -> None:
11631168
"""Using "-s" with pytest should suspend/resume fixture capturing."""
11641169
p1 = pytester.makepyfile(

0 commit comments

Comments
 (0)