summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pdb.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-05 13:06:54 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-05 13:06:54 (GMT)
commitf0eb7adc7f912641741716e46141ea0f09225194 (patch)
treecd9d5503e2be650b8d305955fd7c5051f843118f /Lib/test/test_pdb.py
parent73a5a12dcf4258c6973383b31dc6cbb8d36d75f1 (diff)
parent96bc04369ad20123e4764c7abb86769feabf64a2 (diff)
downloadcpython-f0eb7adc7f912641741716e46141ea0f09225194.zip
cpython-f0eb7adc7f912641741716e46141ea0f09225194.tar.gz
cpython-f0eb7adc7f912641741716e46141ea0f09225194.tar.bz2
Merge: 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 4e543dd..4fb07a3 100644
--- a/Lib/test/test_pdb.py
+++ b/Lib/test/test_pdb.py
@@ -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