From: Andrew Svetlov Date: Wed, 5 Dec 2012 13:06:23 +0000 (+0200) Subject: Skip pdb test for #13120 if threading is not available. X-Git-Tag: v3.2.4rc1~292 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=96bc04369ad20123e4764c7abb86769feabf64a2;p=thirdparty%2FPython%2Fcpython.git Skip pdb test for #13120 if threading is not available. --- diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py index dc2609e0c56b..8355e7d9558a 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