Skip to content

Commit bfd2b07

Browse files
committed
Avoid sys.is_remote_debug_enabled()
1 parent e87dc93 commit bfd2b07

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

‎Lib/test/libregrtest/skipped.py‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@
108108
'test_wait3',
109109
'test_wait4',
110110
}
111-
111+
if not(sys.platform in ("linux", "darwin") or support.MS_WINDOWS):
112+
# Need Py_SUPPORTS_REMOTE_DEBUG macro
113+
EXPECTED_SKIP.add('test_remote_pdb')
112114

113115
if support.MS_WINDOWS:
114116
# Tests specific to non-Windows platforms
@@ -198,10 +200,6 @@
198200
'test_venv',
199201
}
200202

201-
# On FreeBSD, is_remote_debug_enabled() is always false
202-
if not sys.is_remote_debug_enabled():
203-
EXPECTED_SKIP.add('test_remote_pdb')
204-
205203
if IS_WASI:
206204
EXPECTED_SKIP |= {
207205
# configure disables multiple extension modules on WASI

0 commit comments

Comments
 (0)