summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-02-20 23:27:29 (GMT)
committerMats Wichmann <mats@linux.com>2020-02-20 23:27:29 (GMT)
commite7821141cfa0b5b3b3fcc37fda5e2680435637af (patch)
tree0bbd426b0fcbffcf6eb346344a389a97715c4c6e
parent27e0fc09302264dca55f5b5c0215c485634c15c6 (diff)
downloadSCons-e7821141cfa0b5b3b3fcc37fda5e2680435637af.zip
SCons-e7821141cfa0b5b3b3fcc37fda5e2680435637af.tar.gz
SCons-e7821141cfa0b5b3b3fcc37fda5e2680435637af.tar.bz2
Change devmode check to not exclude 3.7.0
Signed-off-by: Mats Wichmann <mats@linux.com>
-rwxr-xr-xruntest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtest.py b/runtest.py
index ec27a68..6e4f58d 100755
--- a/runtest.py
+++ b/runtest.py
@@ -180,7 +180,7 @@ for o, a in opts:
debug = pdb
break
elif o in ['-D', '--devmode']:
- devmode = 1
+ devmode = True
elif o in ['-e', '--external']:
external = 1
elif o in ['-f', '--file']:
@@ -777,7 +777,7 @@ def run_test(t, io_lock=None, run_async=True):
command_args = []
if debug:
command_args.append(debug)
- if devmode and sys.version_info > (3, 7, 0):
+ if devmode and sys.version_info >= (3, 7, 0):
command_args.append('-X dev')
command_args.append(t.path)
if options.runner and t.path in unittests: