diff tests/test-share-bookmarks.t @ 45681:a736ab681b78

errors: stop passing non-strings to Abort's constructor The next patch will change `Abort`'s constructor and `__bytes__` functions and they will start assuming that the first argument is the messages as `bytes`. Differential Revision: https://phab.mercurial-scm.org/D9178
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 08 Oct 2020 15:35:44 -0700
parents d252f51ab032
children 4b0192f592cf
line wrap: on
line diff
--- a/tests/test-share-bookmarks.t	Tue Oct 06 21:06:18 2020 -0700
+++ b/tests/test-share-bookmarks.t	Thu Oct 08 15:35:44 2020 -0700
@@ -230,7 +230,7 @@
   > )
   > def _pullbookmarks(orig, pullop):
   >     orig(pullop)
-  >     raise error.HookAbort('forced failure by extension')
+  >     raise error.HookAbort(b'forced failure by extension')
   > def extsetup(ui):
   >     extensions.wrapfunction(exchange, '_pullbookmarks', _pullbookmarks)
   > EOF