summaryrefslogtreecommitdiffstats
path: root/test/CFILESUFFIX.py
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-09-21 16:57:57 (GMT)
committerWilliam Blevins <wblevins001@gmail.com>2016-09-21 16:57:57 (GMT)
commitf5035c6a61ad10f440a22c14ce22bbb1d6796f62 (patch)
tree804b1383be0b30f3118d5df81db4315bcea1d32e /test/CFILESUFFIX.py
parent5f4aa5312e2d37a271233d864573772ae2b512fe (diff)
downloadSCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.zip
SCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.tar.gz
SCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.tar.bz2
More test fixes.
Diffstat (limited to 'test/CFILESUFFIX.py')
-rw-r--r--test/CFILESUFFIX.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CFILESUFFIX.py b/test/CFILESUFFIX.py
index 1a81240..0a3a81a 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)
""")