tests/test-bundle2-format.t
changeset 45681 a736ab681b78
parent 45055 4c1b4805db57
child 45765 ed84a4d48910
--- a/tests/test-bundle2-format.t	Tue Oct 06 21:06:18 2020 -0700
+++ b/tests/test-bundle2-format.t	Thu Oct 08 15:35:44 2020 -0700
@@ -22,6 +22,7 @@
   > from mercurial import changegroup
   > from mercurial import error
   > from mercurial import obsolete
+  > from mercurial import pycompat
   > from mercurial import registrar
   > from mercurial.utils import procutil
   > 
@@ -169,7 +170,7 @@
   >         for chunk in bundler.getchunks():
   >             file.write(chunk)
   >     except RuntimeError as exc:
-  >         raise error.Abort(exc)
+  >         raise error.Abort(pycompat.bytestr(exc))
   >     finally:
   >         file.flush()
   >