mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Skip pdb test for #13120 if threading is not available.
This commit is contained in:
parent
539ee5da6f
commit
96bc04369a
1 changed files with 3 additions and 0 deletions
|
@ -668,6 +668,9 @@ class PdbTestCase(unittest.TestCase):
|
|||
# invoking "continue" on a non-main thread triggered an exception
|
||||
# inside signal.signal
|
||||
|
||||
# raises SkipTest if python was built without threads
|
||||
support.import_module('threading')
|
||||
|
||||
with open(support.TESTFN, 'wb') as f:
|
||||
f.write(textwrap.dedent("""
|
||||
import threading
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue