Commit ca60b367 authored by R David Murray's avatar R David Murray

test_tools fix: don't import analyze_dxp if no _thread module

parent 54ac832a
...@@ -63,6 +63,7 @@ class TestSundryScripts(unittest.TestCase): ...@@ -63,6 +63,7 @@ class TestSundryScripts(unittest.TestCase):
for fn in self.windows_only: for fn in self.windows_only:
__import__(fn[:-3]) __import__(fn[:-3])
@unittest.skipIf(not support.threading, "test requires _thread module")
def test_analyze_dxp_import(self): def test_analyze_dxp_import(self):
if hasattr(sys, 'getdxp'): if hasattr(sys, 'getdxp'):
import analyze_dxp import analyze_dxp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment