summaryrefslogtreecommitdiffstats
path: root/test/MSVS/vs-11.0Exp-exec.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/MSVS/vs-11.0Exp-exec.py')
-rw-r--r--test/MSVS/vs-11.0Exp-exec.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/MSVS/vs-11.0Exp-exec.py b/test/MSVS/vs-11.0Exp-exec.py
index 7cfc85d..be48971 100644
--- a/test/MSVS/vs-11.0Exp-exec.py
+++ b/test/MSVS/vs-11.0Exp-exec.py
@@ -55,7 +55,8 @@ if not msvs_version in test.msvs_versions():
test.run(arguments = '-n -q -Q -f -', stdin = """\
env = Environment(tools = ['msvc'], MSVS_VERSION='%(msvs_version)s')
-print "os.environ.update(%%s)" %% repr(env['ENV'])
+sconsEnv = repr(env['ENV'])
+print("os.environ.update(" + sconsEnv + ")")
""" % locals())
exec(test.stdout())