https://github.com/python/cpython/commit/947c4f19d969578242ccc454ecc4b04c51408b03
commit: 947c4f19d969578242ccc454ecc4b04c51408b03
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2025-04-25T17:28:25Z
summary:
gh-132950: Skip test_remote_pdb if remote exec is disabled (#132951)
files:
M Lib/test/test_remote_pdb.py
diff --git a/Lib/test/test_remote_pdb.py b/Lib/test/test_remote_pdb.py
index a1bef2d49bc85b..8d2b584007ef41 100644
--- a/Lib/test/test_remote_pdb.py
+++ b/Lib/test/test_remote_pdb.py
@@ -21,6 +21,10 @@
from pdb import _PdbServer, _PdbClient
+if not sys.is_remote_debug_enabled():
+ raise unittest.SkipTest('remote debugging is disabled')
+
+
@contextmanager
def kill_on_error(proc):
"""Context manager killing the subprocess if a Python exception is
raised."""
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]