summaryrefslogtreecommitdiffstats
path: root/test/MSVS/vs-7.1-exec.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/MSVS/vs-7.1-exec.py')
-rw-r--r--test/MSVS/vs-7.1-exec.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/MSVS/vs-7.1-exec.py b/test/MSVS/vs-7.1-exec.py
index f44af80..42f6ae8 100644
--- a/test/MSVS/vs-7.1-exec.py
+++ b/test/MSVS/vs-7.1-exec.py
@@ -54,7 +54,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())