[Python-checkins] cpython (3.2): Skip pdb test for #13120 if threading is not available.
andrew.svetlov
python-checkins at python.org
Wed Dec 5 14:07:21 CET 2012
http://hg.python.org/cpython/rev/26056f8a0afe
changeset: 80728:26056f8a0afe
branch: 3.2
parent: 80721:708586792eec
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Wed Dec 05 15:06:23 2012 +0200
summary:
Skip pdb test for #13120 if threading is not available.
files:
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
--- a/Lib/test/test_pdb.py
+++ b/Lib/test/test_pdb.py
@@ -668,6 +668,9 @@
# 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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list