# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1519034334 -19800 # Node ID a2cbff4748211c3eb143a0938d7bff85430067bf # Parent 9a75619776ca47a529e7bcee350c073ef40b312a py3: add b'' prefixes in test-transplant.t # skip-blame because we are just adding b'' Differential Revision: https://phab.mercurial-scm.org/D2352 diff -r 9a75619776ca -r a2cbff474821 tests/test-transplant.t --- a/tests/test-transplant.t Mon Feb 19 15:28:16 2018 +0530 +++ b/tests/test-transplant.t Mon Feb 19 15:28:54 2018 +0530 @@ -891,14 +891,14 @@ > # emulate that patch.patch() is aborted at patching on "abort" file > from mercurial import error, extensions, patch as patchmod > def patch(orig, ui, repo, patchname, - > strip=1, prefix='', files=None, - > eolmode='strict', similarity=0): + > strip=1, prefix=b'', files=None, + > eolmode=b'strict', similarity=0): > if files is None: > files = set() > r = orig(ui, repo, patchname, > strip=strip, prefix=prefix, files=files, > eolmode=eolmode, similarity=similarity) - > if 'abort' in files: + > if b'abort' in files: > raise error.PatchError('intentional error while patching') > return r > def extsetup(ui):