summaryrefslogtreecommitdiffstats
path: root/test/LEX/live.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/LEX/live.py')
-rw-r--r--test/LEX/live.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/LEX/live.py b/test/LEX/live.py
index e4b4dfb..2abb8ce 100644
--- a/test/LEX/live.py
+++ b/test/LEX/live.py
@@ -44,7 +44,7 @@ if not lex:
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('\\', '\\\\'))