From patchwork Sat Mar 3 23:00:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D2612: tests: fix bytes literals in test-fncache.t From: phabricator X-Patchwork-Id: 28863 Message-Id: <39ad3ef6f9141af2732f9fdab94d547a@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Sat, 3 Mar 2018 23:00:27 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG3715a5ffcf92: tests: fix bytes literals in test-fncache.t (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2612?vs=6490&id=6496 REVISION DETAIL https://phab.mercurial-scm.org/D2612 AFFECTED FILES tests/test-fncache.t CHANGE DETAILS To: durin42, #hg-reviewers, indygreg Cc: mercurial-devel diff --git a/tests/test-fncache.t b/tests/test-fncache.t --- a/tests/test-fncache.t +++ b/tests/test-fncache.t @@ -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 = {} >