summaryrefslogtreecommitdiff
path: root/test/Configure
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-13 16:34:29 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-13 16:34:29 -0400
commit2ccc8e208e98f136e2701bd3cf3c7f3b2ee1a542 (patch)
treed78540b1272cae0536ff82e7ad15aeade7d594ed /test/Configure
parent59dc141096ae7cac5118db783ecf5129a2a06fd5 (diff)
downloadscons-2ccc8e208e98f136e2701bd3cf3c7f3b2ee1a542.tar.gz
py2/3 mode=r on test.read()
Diffstat (limited to 'test/Configure')
-rw-r--r--test/Configure/config-h.py4
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: ")