From 96bc04369ad20123e4764c7abb86769feabf64a2 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Wed, 5 Dec 2012 15:06:23 +0200 Subject: Skip pdb test for #13120 if threading is not available. --- Lib/test/test_pdb.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v0.12