mirror of https://github.com/python/cpython
Merge: test_tools fix: don't import analyze_dxp if no _thread module
This commit is contained in:
commit
b5ebf271de
|
@ -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