diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-13 20:34:29 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-13 20:34:29 (GMT) |
commit | 696b6317906f07b9f473bbbdc416ebf81876dbf8 (patch) | |
tree | d78540b1272cae0536ff82e7ad15aeade7d594ed /test/Configure/config-h.py | |
parent | f1c417cc221fa5635d85ec755cd64c4a0e173b39 (diff) | |
download | SCons-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.py | 4 |
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: ") |