# HG changeset patch # User Pulkit Goyal # Date 1539396863 -10800 # Node ID fed5e57c8dc7494a9c74e4f6bfa6b69b1b0f76e5 # Parent a17c07793dcd02a98c4706eeb3a7b4e4fcd84c6c 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 diff -r a17c07793dcd -r fed5e57c8dc7 contrib/python3-whitelist --- 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 diff -r a17c07793dcd -r fed5e57c8dc7 tests/test-requires.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)