From 3ae12152167ab6df56a84bf2212ec47052b12472 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Fri, 10 Mar 2017 23:06:36 -0500 Subject: remove rb/wb from file opens, not needed py2/3 --- test/CXX/CXXFILESUFFIX.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) """) -- cgit v0.12