Mercurial > hg
diff tests/test-narrow-expanddirstate.t @ 50799:02eae2df911a
wrapfunction: use sysstr instead of bytes as argument in various tests
This is as valid and simpler, it will help us to eventually get ride of
`safehasattr`.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 10 Jul 2023 19:34:04 +0200 |
parents | 7a8bfc05b691 |
children |
line wrap: on
line diff
--- a/tests/test-narrow-expanddirstate.t Mon Jul 10 19:33:14 2023 +0200 +++ b/tests/test-narrow-expanddirstate.t Mon Jul 10 19:34:04 2023 +0200 @@ -99,7 +99,7 @@ > expandnarrowspec(ui, repo, encoding.environ.get(b'PATCHINCLUDES')) > return orig(ui, repo, *args, **kwargs) > - > extensions.wrapfunction(patch, b'patch', overridepatch) + > extensions.wrapfunction(patch, 'patch', overridepatch) > EOF $ cat >> ".hg/hgrc" <<EOF > [extensions]