summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-10-16 15:15:02 (GMT)
committerGitHub <noreply@github.com>2017-10-16 15:15:02 (GMT)
commit9d1dbea5f930d2c86430ddc58eadaa24d0b47803 (patch)
tree6c7d1c1b9e02ba7d84391d6e944158ce19a86129
parent351c325f5ee49b322b625812142a8c042ffe723a (diff)
parentcfb94791980e931b195ec765a926a22c9da6c0c9 (diff)
downloadSCons-9d1dbea5f930d2c86430ddc58eadaa24d0b47803.zip
SCons-9d1dbea5f930d2c86430ddc58eadaa24d0b47803.tar.gz
SCons-9d1dbea5f930d2c86430ddc58eadaa24d0b47803.tar.bz2
Merge pull request #15 from bdbaddog/fix_failing_msvs_tests_print_tuple
Fix issue where test framework was printing a tuple under python 2.7 …
-rw-r--r--QMTest/TestSConsMSVS.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/QMTest/TestSConsMSVS.py b/QMTest/TestSConsMSVS.py
index 19ce747..1e879d9 100644
--- a/QMTest/TestSConsMSVS.py
+++ b/QMTest/TestSConsMSVS.py
@@ -1039,8 +1039,8 @@ class TestSConsMSVS(TestSCons):
input = """\
import SCons
import SCons.Tool.MSCommon
-print("self.scons_version =", repr(SCons.__%s__))
-print("self._msvs_versions =", str(SCons.Tool.MSCommon.query_versions()))
+print("self.scons_version =%%s"%%repr(SCons.__%s__))
+print("self._msvs_versions =%%s"%%str(SCons.Tool.MSCommon.query_versions()))
""" % 'version'
self.run(arguments = '-n -q -Q -f -', stdin = input)