summaryrefslogtreecommitdiffstats
path: root/test/YACC/live.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/YACC/live.py')
-rw-r--r--test/YACC/live.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/YACC/live.py b/test/YACC/live.py
index f6733da..e125daa 100644
--- a/test/YACC/live.py
+++ b/test/YACC/live.py
@@ -43,7 +43,7 @@ if not yacc:
test.write("wrapper.py",
"""import os
import sys
-open('%s', 'wb').write("wrapper.py\\n")
+open('%s', 'wb').write(b"wrapper.py\\n")
os.system(" ".join(sys.argv[1:]))
""" % test.workpath('wrapper.out').replace('\\', '\\\\'))