D4609: py3: add b'' prefixes in tests/test-hgweb-non-interactive.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sun Sep 16 21:21:33 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc20861b65688: py3: add b'' prefixes in tests/test-hgweb-non-interactive.t (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4609?vs=11098&id=11104
REVISION DETAIL
https://phab.mercurial-scm.org/D4609
AFFECTED FILES
tests/test-hgweb-non-interactive.t
CHANGE DETAILS
diff --git a/tests/test-hgweb-non-interactive.t b/tests/test-hgweb-non-interactive.t
--- a/tests/test-hgweb-non-interactive.t
+++ b/tests/test-hgweb-non-interactive.t
@@ -65,16 +65,16 @@
> 'SERVER_PROTOCOL': 'HTTP/1.0'
> }
>
- > i = hgweb('.')
+ > i = hgweb(b'.')
> for c in i(env, startrsp):
> pass
> print('---- ERRORS')
> print(errors.getvalue())
> print('---- OS.ENVIRON wsgi variables')
> 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
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list