tests/test-fncache.t
changeset 36691 3715a5ffcf92
parent 36523 5b5cc44b2cdc
child 37415 c2c8962a9465
--- a/tests/test-fncache.t	Sat Mar 03 17:08:05 2018 -0500
+++ b/tests/test-fncache.t	Sat Mar 03 17:08:41 2018 -0500
@@ -259,14 +259,14 @@
   > def wrapper(orig, self, *args, **kwargs):
   >     tr = orig(self, *args, **kwargs)
   >     def fail(tr):
-  >         raise error.Abort("forced transaction failure")
+  >         raise error.Abort(b"forced transaction failure")
   >     # zzz prefix to ensure it sorted after store.write
-  >     tr.addfinalize('zzz-forcefails', fail)
+  >     tr.addfinalize(b'zzz-forcefails', fail)
   >     return tr
   > 
   > def uisetup(ui):
   >     extensions.wrapfunction(
-  >         localrepo.localrepository, 'transaction', wrapper)
+  >         localrepo.localrepository, b'transaction', wrapper)
   > 
   > cmdtable = {}
   >