Merge: skip pdb test for #13120 if threading is not available.
This commit is contained in:
commit
34cf090e8c
|
@ -671,6 +671,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…
Reference in New Issue