D5677: py3: add missing b prefixes in test-acl.t

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu Jan 24 16:40:58 UTC 2019


durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  There's one failure left in the test, which looks like a real problem
  around executing hooks. I have not investigated further.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-acl.t

CHANGE DETAILS

diff --git a/tests/test-acl.t b/tests/test-acl.t
--- a/tests/test-acl.t
+++ b/tests/test-acl.t
@@ -39,7 +39,7 @@
   >     try:
   >         return acl._getusersorig(ui, group)
   >     except:
-  >         return ["fred", "betty"]
+  >         return [b"fred", b"betty"]
   > acl._getusersorig = acl._getusers
   > acl._getusers = fakegetusers
   > EOF



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


More information about the Mercurial-devel mailing list