Mercurial > hg
diff tests/test-missing-capability.t @ 41313:d3cc9a8df63a
tests: add b'' to test-missing-capability.t
The test now passes on Python 3.
# skip-blame just b'' prefixes
Differential Revision: https://phab.mercurial-scm.org/D5645
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 22 Jan 2019 16:53:24 -0800 |
parents | 55e8da487b8a |
children | 8d72e29ad1e0 |
line wrap: on
line diff
--- a/tests/test-missing-capability.t Tue Jan 22 11:41:22 2019 -0500 +++ b/tests/test-missing-capability.t Tue Jan 22 16:53:24 2019 -0800 @@ -15,7 +15,7 @@ > from mercurial import extensions, wireprotov1server > def wcapabilities(orig, *args, **kwargs): > cap = orig(*args, **kwargs) - > cap.remove('$1') + > cap.remove(b'$1') > return cap > extensions.wrapfunction(wireprotov1server, '_capabilities', wcapabilities) > EOF