summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-04-05 02:38:26 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-04-05 02:38:26 (GMT)
commitb5ebf271de17597c12162abb49b0e0447f4c86b2 (patch)
tree415c8736ca824c4cd2d1c1f7e30a1051040a7606
parentce9806215b82e4a0e8dd37eb9a669477161adfec (diff)
parentca60b367355062cd902d756755da954c9238cdd9 (diff)
downloadcpython-b5ebf271de17597c12162abb49b0e0447f4c86b2.zip
cpython-b5ebf271de17597c12162abb49b0e0447f4c86b2.tar.gz
cpython-b5ebf271de17597c12162abb49b0e0447f4c86b2.tar.bz2
Merge: test_tools fix: don't import analyze_dxp if no _thread module
-rw-r--r--Lib/test/test_tools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_tools.py b/Lib/test/test_tools.py
index 8c9054a..83a1e0d 100644
--- a/Lib/test/test_tools.py
+++ b/Lib/test/test_tools.py
@@ -63,6 +63,7 @@ class TestSundryScripts(unittest.TestCase):
for fn in self.windows_only:
__import__(fn[:-3])
+ @unittest.skipIf(not support.threading, "test requires _thread module")
def test_analyze_dxp_import(self):
if hasattr(sys, 'getdxp'):
import analyze_dxp