Mercurial > hg-stable
diff tests/test-bundle2-exchange.t @ 50836: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 | 950c39918bd2 |
children | d83d788590a8 |
line wrap: on
line diff
--- a/tests/test-bundle2-exchange.t Mon Jul 10 19:33:14 2023 +0200 +++ b/tests/test-bundle2-exchange.t Mon Jul 10 19:34:04 2023 +0200 @@ -917,7 +917,7 @@ > raise error.Abort(b"Lock should not be taken") > return orig(repo, *args, **kwargs) > def extsetup(ui): - > extensions.wrapfunction(bundle2, b'processbundle', checklock) + > extensions.wrapfunction(bundle2, 'processbundle', checklock) > EOF $ hg init lazylock