Skip to content

Commit 1e26e0c

Browse files
committed
mark flaky tests with xfail
1 parent 0ade3fa commit 1e26e0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testing/test_pdb.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2061,6 +2061,7 @@ def fn():
20612061
testdir.monkeypatch.setenv("PDBPP_COLORS", "0")
20622062
testdir.syspathinsert()
20632063

2064+
@pytest.mark.xfail(strict=False, reason="Flaky: fails in tox, succeeds when called with pytest - see https://github.com/nedbat/coveragepy/issues/1420")
20642065
def test_list_with_changed_source(self):
20652066
from myfile import fn
20662067

@@ -2094,6 +2095,7 @@ def test_list_with_changed_source(self):
20942095
(Pdb++) c
20952096
""")
20962097

2098+
@pytest.mark.xfail(strict=False, reason="Flaky: fails in tox, succeeds when called with pytest - see https://github.com/nedbat/coveragepy/issues/1420")
20972099
def test_longlist_with_changed_source(self):
20982100
from myfile import fn
20992101

0 commit comments

Comments
 (0)