test_tools fix: don't import analyze_dxp if no _thread module
This commit is contained in:
parent
54ac832a24
commit
ca60b36735
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue