D4613: py3: add missing b'' prefixes in couple of test files
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Mon Sep 17 12:28:39 UTC 2018
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
These were missed in the earlier patch and caught by Yuya.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4613
AFFECTED FILES
tests/test-hgweb-no-path-info.t
tests/test-hgweb-no-request-uri.t
CHANGE DETAILS
diff --git a/tests/test-hgweb-no-request-uri.t b/tests/test-hgweb-no-request-uri.t
--- a/tests/test-hgweb-no-request-uri.t
+++ b/tests/test-hgweb-no-request-uri.t
@@ -74,12 +74,12 @@
> output = stringio()
> env['PATH_INFO'] = '/'
> env['QUERY_STRING'] = 'style=raw'
- > process(hgwebdir({'repo': b'.'}))
+ > process(hgwebdir({b'repo': b'.'}))
>
> output = stringio()
> env['PATH_INFO'] = '/repo/file/tip/'
> env['QUERY_STRING'] = 'style=raw'
- > process(hgwebdir({'repo': b'.'}))
+ > process(hgwebdir({b'repo': b'.'}))
> EOF
$ $PYTHON request.py
---- STATUS
diff --git a/tests/test-hgweb-no-path-info.t b/tests/test-hgweb-no-path-info.t
--- a/tests/test-hgweb-no-path-info.t
+++ b/tests/test-hgweb-no-path-info.t
@@ -68,7 +68,7 @@
>
> output = stringio()
> env['QUERY_STRING'] = 'style=raw'
- > process(hgwebdir({'repo': b'.'}))
+ > process(hgwebdir({b'repo': b'.'}))
> EOF
$ $PYTHON request.py
---- STATUS
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list