Skip to content

Commit 4c0f987

Browse files
committed
Only skip in CI.2
1 parent bbef8ea commit 4c0f987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_debugging.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def task_example():
173173

174174

175175
@pytest.mark.end_to_end
176-
@pytest.mark.xfail(reason="#312")
176+
@pytest.mark.xfail(os.environ.get("CI") == "true", reason="#312")
177177
@pytest.mark.skipif(not IS_PEXPECT_INSTALLED, reason="pexpect is not installed.")
178178
@pytest.mark.skipif(sys.platform == "win32", reason="pexpect cannot spawn on Windows.")
179179
def test_pdb_interaction_capturing_simple(tmp_path): # pragma: no cover
@@ -285,7 +285,7 @@ def task_2():
285285

286286

287287
@pytest.mark.end_to_end
288-
@pytest.mark.xfail(reason="#312")
288+
@pytest.mark.xfail(os.environ.get("CI") == "true", reason="#312")
289289
@pytest.mark.skipif(not IS_PEXPECT_INSTALLED, reason="pexpect is not installed.")
290290
@pytest.mark.skipif(sys.platform == "win32", reason="pexpect cannot spawn on Windows.")
291291
def test_pdb_interaction_capturing_twice(tmp_path): # pragma: no cover

0 commit comments

Comments
 (0)