Patchwork D5645: tests: add b'' to test-missing-capability.t

login
register
mail settings
Submitter phabricator
Date Jan. 23, 2019, 5:49 a.m.
Message ID <008dba74aaa8cc1d8056e124ff861f48@localhost.localdomain>
Download mbox | patch
Permalink /patch/37919/
State Not Applicable
Headers show

Comments

phabricator - Jan. 23, 2019, 5:49 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd3cc9a8df63a: tests: add b&#039;&#039; to test-missing-capability.t (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5645?vs=13341&id=13357

REVISION DETAIL
  https://phab.mercurial-scm.org/D5645

AFFECTED FILES
  tests/test-missing-capability.t

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-missing-capability.t b/tests/test-missing-capability.t
--- a/tests/test-missing-capability.t
+++ b/tests/test-missing-capability.t
@@ -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