diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-13 16:34:29 -0400 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-13 16:34:29 -0400 |
commit | 2ccc8e208e98f136e2701bd3cf3c7f3b2ee1a542 (patch) | |
tree | d78540b1272cae0536ff82e7ad15aeade7d594ed /test/Configure | |
parent | 59dc141096ae7cac5118db783ecf5129a2a06fd5 (diff) | |
download | scons-2ccc8e208e98f136e2701bd3cf3c7f3b2ee1a542.tar.gz |
py2/3 mode=r on test.read()
Diffstat (limited to 'test/Configure')
-rw-r--r-- | test/Configure/config-h.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Configure/config-h.py b/test/Configure/config-h.py index ed950552..ff5e5b22 100644 --- a/test/Configure/config-h.py +++ b/test/Configure/config-h.py @@ -134,7 +134,7 @@ expected_config_h = ("""\ test.run(stdout=expected_stdout) -config_h = test.read(test.workpath('config.h')) +config_h = test.read(test.workpath('config.h'), mode='r') if expected_config_h != config_h: print("Unexpected config.h") print("Expected: ") @@ -161,7 +161,7 @@ expected_stdout = test.wrap_stdout(build_str=expected_build_str, test.run(stdout=expected_stdout) -config_h = test.read(test.workpath('config.h')) +config_h = test.read(test.workpath('config.h'),mode='r') if expected_config_h != config_h: print("Unexpected config.h") print("Expected: ") |