changeset 38698:6437e89b64d5

py3: open file in binary mode in test-bundle2-remote-changegroup.t
author Yuya Nishihara <yuya@tcha.org>
date Sun, 08 Jul 2018 19:41:00 +0900
parents 3c569172848d
children 72c086b1af12
files tests/test-bundle2-remote-changegroup.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)