summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/CXX/CXXFILESUFFIX.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/CXXFILESUFFIX.py b/test/CXX/CXXFILESUFFIX.py
index 8439aef..9442408 100644
--- a/test/CXX/CXXFILESUFFIX.py
+++ b/test/CXX/CXXFILESUFFIX.py
@@ -37,7 +37,7 @@ import getopt
import sys
cmd_opts, args = getopt.getopt(sys.argv[1:], 't', [])
for a in args:
- contents = open(a, 'rb').read()
+ contents = open(a, 'r').read()
sys.stdout.write(contents.replace('LEX', 'mylex.py'))
sys.exit(0)
""")