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

This commit is contained in:
R David Murray 2012-04-04 22:38:26 -04:00
commit b5ebf271de
1 changed files with 1 additions and 0 deletions

View File

@ -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