summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pdb.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-05 13:06:23 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-05 13:06:23 (GMT)
commit96bc04369ad20123e4764c7abb86769feabf64a2 (patch)
tree08b088a5abed0bf9494bed55dcd7ae924596b88d /Lib/test/test_pdb.py
parent539ee5da6fb2a56869e6c6f4401300b4d5906d76 (diff)
downloadcpython-96bc04369ad20123e4764c7abb86769feabf64a2.zip
cpython-96bc04369ad20123e4764c7abb86769feabf64a2.tar.gz
cpython-96bc04369ad20123e4764c7abb86769feabf64a2.tar.bz2
Skip pdb test for #13120 if threading is not available.
Diffstat (limited to 'Lib/test/test_pdb.py')
-rw-r--r--Lib/test/test_pdb.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py
index dc2609e..8355e7d 100644
--- a/Lib/test/test_pdb.py
+++ b/Lib/test/test_pdb.py
@@ -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