diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-05 13:06:23 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-05 13:06:23 (GMT) |
commit | 96bc04369ad20123e4764c7abb86769feabf64a2 (patch) | |
tree | 08b088a5abed0bf9494bed55dcd7ae924596b88d /Lib/test/test_pdb.py | |
parent | 539ee5da6fb2a56869e6c6f4401300b4d5906d76 (diff) | |
download | cpython-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.py | 3 |
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 |