py3: add missing b'' prefixes in couple of test files
authorPulkit Goyal <pulkit@yandex-team.ru>
Mon, 17 Sep 2018 15:27:39 +0300
changeset 39664 322aaf80acf3
parent 39663 b6fa1f628bbe
child 39665 c73c7653dfb9
py3: add missing b'' prefixes in couple of test files These were missed in the earlier patch and caught by Yuya. # skip-blame because just b'' prefix Differential Revision: https://phab.mercurial-scm.org/D4613
tests/test-hgweb-no-path-info.t
tests/test-hgweb-no-request-uri.t
--- a/tests/test-hgweb-no-path-info.t	Sun Sep 16 23:13:05 2018 -0400
+++ b/tests/test-hgweb-no-path-info.t	Mon Sep 17 15:27:39 2018 +0300
@@ -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
--- a/tests/test-hgweb-no-request-uri.t	Sun Sep 16 23:13:05 2018 -0400
+++ b/tests/test-hgweb-no-request-uri.t	Mon Sep 17 15:27:39 2018 +0300
@@ -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