tests/test-import-context.t
changeset 38365 bf953d218a91
parent 36394 4bc983568016
child 39707 5abc47d4ca6b
--- a/tests/test-import-context.t	Mon Jun 18 15:25:57 2018 +0530
+++ b/tests/test-import-context.t	Mon Jun 18 15:27:34 2018 +0530
@@ -10,7 +10,7 @@
   > fp = open(path, 'wb')
   > for i, pattern in enumerate(patterns):
   >     count = int(pattern[0:-1])
-  >     char = pattern[-1] + '\n'
+  >     char = pattern[-1].encode('utf8') + b'\n'
   >     if not lasteol and i == len(patterns) - 1:
   >         fp.write((char*count)[:-1])
   >     else: