diff options
author | William Blevins <wblevins001@gmail.com> | 2016-09-21 12:57:57 -0400 |
---|---|---|
committer | William Blevins <wblevins001@gmail.com> | 2016-09-21 12:57:57 -0400 |
commit | b9d9cf51e4518f5a286634f6afd734400b640238 (patch) | |
tree | 804b1383be0b30f3118d5df81db4315bcea1d32e /test/CFILESUFFIX.py | |
parent | 3aa07da96b32d1b062ff9cc150fd662f3ef1fa2c (diff) | |
download | scons-b9d9cf51e4518f5a286634f6afd734400b640238.tar.gz |
More test fixes.
Diffstat (limited to 'test/CFILESUFFIX.py')
-rw-r--r-- | test/CFILESUFFIX.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CFILESUFFIX.py b/test/CFILESUFFIX.py index 1a812402..0a3a81a7 100644 --- a/test/CFILESUFFIX.py +++ b/test/CFILESUFFIX.py @@ -42,7 +42,7 @@ import sys cmd_opts, args = getopt.getopt(sys.argv[1:], 't', []) for a in args: contents = open(a, 'rb').read() - sys.stdout.write(contents.replace('LEX', 'mylex.py')) + sys.stdout.write((contents.replace(b'LEX', b'mylex.py')).decode()) sys.exit(0) """) |