py3: open file in binary mode in test-bundle2-remote-changegroup.t
authorYuya Nishihara <yuya@tcha.org>
Sun, 08 Jul 2018 19:41:00 +0900
changeset 38698 6437e89b64d5
parent 38697 3c569172848d
child 38699 72c086b1af12
py3: open file in binary mode in test-bundle2-remote-changegroup.t
tests/test-bundle2-remote-changegroup.t
--- a/tests/test-bundle2-remote-changegroup.t	Fri Jun 01 12:10:34 2018 +0200
+++ b/tests/test-bundle2-remote-changegroup.t	Sun Jul 08 19:41:00 2018 +0900
@@ -47,7 +47,7 @@
   >         part = bundler.newpart(name, data=data)
   >         return part
   > 
-  >     for line in open(repo.vfs.join('bundle2maker'), 'r'):
+  >     for line in open(repo.vfs.join('bundle2maker'), 'rb'):
   >         line = line.strip()
   >         try:
   >             verb, args = line.split(None, 1)