changeset 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 d60bd5c71cbb
children 15fd3069caa6
files tests/test-missing-capability.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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