diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-14 00:12:33 -0700 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-14 00:12:33 -0700 |
commit | c467c6fdcc9a82599b7693969b7947a21c10fdda (patch) | |
tree | 5d359c8efe3e8201891792273450d8ae5cb3107d /test/special-filenames.py | |
parent | 6e789596c428daa93bde421d2e362c2908455049 (diff) | |
download | scons-c467c6fdcc9a82599b7693969b7947a21c10fdda.tar.gz |
Use mode='r' to fix test on Python 3
Diffstat (limited to 'test/special-filenames.py')
-rw-r--r-- | test/special-filenames.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/special-filenames.py b/test/special-filenames.py index de09a526..798bf095 100644 --- a/test/special-filenames.py +++ b/test/special-filenames.py @@ -78,7 +78,7 @@ test.run(arguments='.') for fn in file_names: out_name = fn.replace('$$', '$') + '.out' - test.fail_test(test.read(out_name) != fn + '\n') + test.fail_test(test.read(out_name, mode='r') != fn + '\n') test.pass_test() |