Commit 96bc0436 authored by Andrew Svetlov's avatar Andrew Svetlov

Skip pdb test for #13120 if threading is not available.

parent 539ee5da
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment