[PATCH 6 of 7] py3: byte-stringify literals in extension in test-bundle2-format.t
Yuya Nishihara
yuya at tcha.org
Mon Jul 9 13:24:36 UTC 2018
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1531046051 -32400
# Sun Jul 08 19:34:11 2018 +0900
# Node ID 9a7d1a087b1807a06b2e051725c69e0e0275c001
# Parent a695979732a9b26b78e465096bc3434aef6e40f6
py3: byte-stringify literals in extension in test-bundle2-format.t
# skip-blame just some b''
diff --git a/tests/test-bundle2-format.t b/tests/test-bundle2-format.t
--- a/tests/test-bundle2-format.t
+++ b/tests/test-bundle2-format.t
@@ -184,9 +184,9 @@ Create an extension to test bundle2 API
> 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()
More information about the Mercurial-devel
mailing list