changeset 39664:322aaf80acf3

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
author Pulkit Goyal <pulkit@yandex-team.ru>
date Mon, 17 Sep 2018 15:27:39 +0300
parents b6fa1f628bbe
children c73c7653dfb9
files tests/test-hgweb-no-path-info.t tests/test-hgweb-no-request-uri.t
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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