# HG changeset patch # User Pulkit Goyal # Date 1537109459 -19800 # Node ID c20861b65688d0317fce4409fa6084981e494671 # Parent 2b9f315a4217d1f7565dda8676e5a4fce61a1b60 py3: add b'' prefixes in tests/test-hgweb-non-interactive.t # skip-blame because just b'' prefix Differential Revision: https://phab.mercurial-scm.org/D4609 diff -r 2b9f315a4217 -r c20861b65688 tests/test-hgweb-non-interactive.t --- a/tests/test-hgweb-non-interactive.t Sun Sep 16 19:58:01 2018 +0530 +++ b/tests/test-hgweb-non-interactive.t Sun Sep 16 20:20:59 2018 +0530 @@ -65,7 +65,7 @@ > 'SERVER_PROTOCOL': 'HTTP/1.0' > } > - > i = hgweb('.') + > i = hgweb(b'.') > for c in i(env, startrsp): > pass > print('---- ERRORS') @@ -74,7 +74,7 @@ > print(sorted([x for x in os.environ if x.startswith('wsgi')])) > print('---- request.ENVIRON wsgi variables') > with i._obtainrepo() as repo: - > print(sorted([x for x in repo.ui.environ if x.startswith('wsgi')])) + > print(sorted([x for x in repo.ui.environ if x.startswith(b'wsgi')])) > EOF $ $PYTHON request.py ---- STATUS