diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-11 04:52:04 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-11 04:52:04 (GMT) |
commit | bf3e197e213e45b5c5966b70f186f2fc6b0ecfa2 (patch) | |
tree | 555593fe3100995fddc9cd97820c168ec6a9b0dd /test/CXX | |
parent | 01b45568cb32ef365d71d47ace917b201ca98c92 (diff) | |
parent | db4fc8015b8fbfc3e2423ff90007ffe77923b698 (diff) | |
download | SCons-bf3e197e213e45b5c5966b70f186f2fc6b0ecfa2.zip SCons-bf3e197e213e45b5c5966b70f186f2fc6b0ecfa2.tar.gz SCons-bf3e197e213e45b5c5966b70f186f2fc6b0ecfa2.tar.bz2 |
update repo
Diffstat (limited to 'test/CXX')
-rw-r--r-- | test/CXX/CXXVERSION.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/CXX/CXXVERSION.py b/test/CXX/CXXVERSION.py index 6017001..abe6ce0 100644 --- a/test/CXX/CXXVERSION.py +++ b/test/CXX/CXXVERSION.py @@ -38,16 +38,17 @@ if sys.platform == 'win32': test.write("versioned.py", -"""import os +"""from __future__ import print_function +import os import sys if '-dumpversion' in sys.argv: - print '3.9.9' + print('3.9.9') sys.exit(0) if '--version' in sys.argv: - print 'this is version 2.9.9 wrapping', sys.argv[2] + print('this is version 2.9.9 wrapping', sys.argv[2]) sys.exit(0) if sys.argv[1] not in [ '2.9.9', '3.9.9' ]: - print 'wrong version', sys.argv[1], 'when wrapping', sys.argv[2] + print('wrong version', sys.argv[1], 'when wrapping', sys.argv[2]) sys.exit(1) os.system(" ".join(sys.argv[2:])) """) |