Merge: skip pdb test for #13120 if threading is not available.

This commit is contained in:
Andrew Svetlov 2012-12-05 15:07:10 +02:00
commit 34cf090e8c
1 changed files with 3 additions and 0 deletions

View File

@ -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