summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-06 22:36:31 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-06 22:36:31 (GMT)
commit8b4b7860340e1348ec00587a0c79007531e361d5 (patch)
tree84a48ab2635b6c3279c5a8f60810c4f5e739f5e6
parente25264ce5094f6d288cdf780bb99e4bdb605c706 (diff)
downloadSCons-8b4b7860340e1348ec00587a0c79007531e361d5.zip
SCons-8b4b7860340e1348ec00587a0c79007531e361d5.tar.gz
SCons-8b4b7860340e1348ec00587a0c79007531e361d5.tar.bz2
py2/3 don't try to force import threading failure on py3. threading is imported too many places and this form of checking for python being built with thread is no the best way. Use sysconfig.get_config_var('WITH_THREAD') instead
-rw-r--r--test/option-j.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/option-j.py b/test/option-j.py
index 3dbedc0..278fd30 100644
--- a/test/option-j.py
+++ b/test/option-j.py
@@ -122,7 +122,7 @@ test.fail_test(start2 < finish1)
# succeeds.
test.run(arguments='-j 2 out')
-if sys.platform != 'win32':
+if sys.platform != 'win32' and sys.version_info[0] == 2:
# Test breaks on win32 when using real subprocess is not the only
# package to import threading
#