cpython: 26056f8a0afe (original) (raw)
Mercurial > cpython
changeset 80728:26056f8a0afe 3.2
Skip pdb test for #13120 if threading is not available. [#13120]
Andrew Svetlov andrew.svetlov@gmail.com | |
---|---|
date | Wed, 05 Dec 2012 15:06:23 +0200 |
parents | 708586792eec |
children | 328a8824c1a7 93742b046519 |
files | Lib/test/test_pdb.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-)[+] [-] Lib/test/test_pdb.py 3 |
line wrap: on
line diff
--- 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[](#l1.7)
support.import_module('threading')[](#l1.8)
+ with open(support.TESTFN, 'wb') as f: f.write(textwrap.dedent(""" import threading