changeset 38608:980aee54fd70

py3: byte-stringify literals in extension in test-bundle2-format.t # skip-blame just some b''
author Yuya Nishihara <yuya@tcha.org>
date Sun, 08 Jul 2018 19:34:11 +0900
parents fe81af15675a
children d474b3b44d4f
files tests/test-bundle2-format.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bundle2-format.t	Sun Jul 08 19:32:39 2018 +0900
+++ b/tests/test-bundle2-format.t	Sun Jul 08 19:34:11 2018 +0900
@@ -184,9 +184,9 @@
   >             op = bundle2.processbundle(repo, unbundler, lambda: tr)
   >             tr.close()
   >         except error.BundleValueError as exc:
-  >             raise error.Abort('missing support for %s' % exc)
+  >             raise error.Abort(b'missing support for %s' % exc)
   >         except error.PushRaced as exc:
-  >             raise error.Abort('push race: %s' % exc)
+  >             raise error.Abort(b'push race: %s' % exc)
   >     finally:
   >         if tr is not None:
   >             tr.release()