diff --git a/Lib/test/test_tools.py b/Lib/test/test_tools.py index 8c9054a4b8a..83a1e0df57a 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