Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b5ebf27

Browse files
committed
Merge: test_tools fix: don't import analyze_dxp if no _thread module
2 parents ce98062 + ca60b36 commit b5ebf27

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def test_sundry_windows(self):
6363
for fn in self.windows_only:
6464
__import__(fn[:-3])
6565

66+
@unittest.skipIf(not support.threading, "test requires _thread module")
6667
def test_analyze_dxp_import(self):
6768
if hasattr(sys, 'getdxp'):
6869
import analyze_dxp

0 commit comments

Comments
 (0)