summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-05 13:07:10 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-05 13:07:10 (GMT)
commit34cf090e8c72ade475160b6c2f280e40dcba71ea (patch)
treea8524dd3755157fcbd557aa86946145940575216
parentb1715ea435427ac9058326715a686caa08823378 (diff)
parentf0eb7adc7f912641741716e46141ea0f09225194 (diff)
downloadcpython-34cf090e8c72ade475160b6c2f280e40dcba71ea.zip
cpython-34cf090e8c72ade475160b6c2f280e40dcba71ea.tar.gz
cpython-34cf090e8c72ade475160b6c2f280e40dcba71ea.tar.bz2
Merge: skip pdb test for #13120 if threading is not available.
-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