--- 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 = {}
>