diff options
author | R David Murray <rdmurray@bitdance.com> | 2012-04-05 02:37:50 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2012-04-05 02:37:50 (GMT) |
commit | ca60b367355062cd902d756755da954c9238cdd9 (patch) | |
tree | 2cfff01f2d6d8084ff9db6409d8b2f54b9a785f2 /Lib/test/test_tools.py | |
parent | 54ac832a24a0f40ea3278707420b191be3619c99 (diff) | |
download | cpython-ca60b367355062cd902d756755da954c9238cdd9.zip cpython-ca60b367355062cd902d756755da954c9238cdd9.tar.gz cpython-ca60b367355062cd902d756755da954c9238cdd9.tar.bz2 |
test_tools fix: don't import analyze_dxp if no _thread module
Diffstat (limited to 'Lib/test/test_tools.py')
-rw-r--r-- | Lib/test/test_tools.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_tools.py b/Lib/test/test_tools.py index 8c9054a..83a1e0d 100644 --- a/Lib/test/test_tools.py +++ b/Lib/test/test_tools.py @@ -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 |