summaryrefslogtreecommitdiffstats
path: root/test/Configure/config-h.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-13 20:34:29 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-13 20:34:29 (GMT)
commit696b6317906f07b9f473bbbdc416ebf81876dbf8 (patch)
treed78540b1272cae0536ff82e7ad15aeade7d594ed /test/Configure/config-h.py
parentf1c417cc221fa5635d85ec755cd64c4a0e173b39 (diff)
downloadSCons-696b6317906f07b9f473bbbdc416ebf81876dbf8.zip
SCons-696b6317906f07b9f473bbbdc416ebf81876dbf8.tar.gz
SCons-696b6317906f07b9f473bbbdc416ebf81876dbf8.tar.bz2
py2/3 mode=r on test.read()
Diffstat (limited to 'test/Configure/config-h.py')
-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 ed95055..ff5e5b2 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: ")