py3: add a b'' prefix in tests/test-requires.t
authorPulkit Goyal <pulkit@yandex-team.ru>
Sat, 13 Oct 2018 05:14:23 +0300
changeset 40229 fed5e57c8dc7
parent 40228 a17c07793dcd
child 40230 0b46e1aa7760
py3: add a b'' prefix in tests/test-requires.t This makes the test pass on Python 3. # skip-blame because just b'' prefix. Differential Revision: https://phab.mercurial-scm.org/D5041
contrib/python3-whitelist
tests/test-requires.t
--- a/contrib/python3-whitelist	Sat Oct 13 05:12:20 2018 +0300
+++ b/contrib/python3-whitelist	Sat Oct 13 05:14:23 2018 +0300
@@ -491,6 +491,7 @@
 test-rename.t
 test-repair-strip.t
 test-repo-compengines.t
+test-requires.t
 test-resolve.t
 test-revert-flags.t
 test-revert-interactive.t
--- a/tests/test-requires.t	Sat Oct 13 05:12:20 2018 +0300
+++ b/tests/test-requires.t	Sat Oct 13 05:14:23 2018 +0300
@@ -38,7 +38,7 @@
   >     for name, module in extensions.extensions(ui):
   >         if __name__ == module.__name__:
   >             # support specific feature locally
-  >             supported |= {'featuresetup-test'}
+  >             supported |= {b'featuresetup-test'}
   >             return
   > def uisetup(ui):
   >     localrepo.featuresetupfuncs.add(featuresetup)