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/Deprecated | |
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/Deprecated')
-rw-r--r-- | test/Deprecated/Options/chdir.py | 2 | ||||
-rw-r--r-- | test/Deprecated/Options/import.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Deprecated/Options/chdir.py b/test/Deprecated/Options/chdir.py index ed0aab1..bfeda1b 100644 --- a/test/Deprecated/Options/chdir.py +++ b/test/Deprecated/Options/chdir.py @@ -46,7 +46,7 @@ SConscript_contents = """\ Import("opts") env = Environment() opts.Update(env) -print("VARIABLE =", repr(env['VARIABLE'])) +print("VARIABLE = %s"%repr(env['VARIABLE'])) """ test.write(['bin', 'opts.cfg'], """\ diff --git a/test/Deprecated/Options/import.py b/test/Deprecated/Options/import.py index b93e6a2..764a061 100644 --- a/test/Deprecated/Options/import.py +++ b/test/Deprecated/Options/import.py @@ -48,7 +48,7 @@ SConscript_contents = """\ Import("opts") env = Environment() opts.Update(env) -print("VARIABLE =", env.get('VARIABLE')) +print("VARIABLE = %s"%env.get('VARIABLE')) """ test.write(['bin', 'opts.cfg'], """\ |