changeset 40229:fed5e57c8dc7

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
author Pulkit Goyal <pulkit@yandex-team.ru>
date Sat, 13 Oct 2018 05:14:23 +0300
parents a17c07793dcd
children 0b46e1aa7760
files contrib/python3-whitelist tests/test-requires.t
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)