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
--- 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