From ca60b367355062cd902d756755da954c9238cdd9 Mon Sep 17 00:00:00 2001 From: R David Murray Date: Wed, 4 Apr 2012 22:37:50 -0400 Subject: test_tools fix: don't import analyze_dxp if no _thread module --- Lib/test/test_tools.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v0.12