diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-09-25 22:19:04 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-09-25 22:19:04 (GMT) |
commit | 53d289074458b53d634a9aa922250a5c08b6c2d9 (patch) | |
tree | e11c3ea791864caa646af308d82d101214e82b18 /test/Variables | |
parent | 2e0de3c55f22b3eaa7767b69740b898f3d2f46bf (diff) | |
download | SCons-53d289074458b53d634a9aa922250a5c08b6c2d9.zip SCons-53d289074458b53d634a9aa922250a5c08b6c2d9.tar.gz SCons-53d289074458b53d634a9aa922250a5c08b6c2d9.tar.bz2 |
Fix tests which break when using print() and no from __future__ import print_function under python 2.7 because the print('a','b') effectively becomes printing a tuple which doesn't match the expected strings
Diffstat (limited to 'test/Variables')
-rw-r--r-- | test/Variables/chdir.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Variables/chdir.py b/test/Variables/chdir.py index 0e9abaa..b5fce2a 100644 --- a/test/Variables/chdir.py +++ b/test/Variables/chdir.py @@ -46,7 +46,7 @@ SConscript_contents = """\ Import("opts") env = Environment() opts.Update(env) -print("VARIABLE =", repr(env['VARIABLE'])) +print("VARIABLE = "+repr(env['VARIABLE'])) """ test.write(['bin', 'opts.cfg'], """\ |