8000 gh-132950: Skip test_remote_pdb if remote exec is disabled (#132951) · python/cpython@947c4f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 947c4f1

Browse files
authored
gh-132950: Skip test_remote_pdb if remote exec is disabled (#132951)
1 parent 2a28b21 commit 947c4f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_remote_pdb.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
from pdb import _PdbServer, _PdbClient
2222

2323

24+
if not sys.is_remote_debug_enabled():
25+
raise unittest.SkipTest('remote debugging is disabled')
26+
27+
2428
@contextmanager
2529
def kill_on_error(proc):
2630
"""Context manager killing the subprocess if a Python exception is raised."""

0 commit comments

Comments
 (0)
0