diff tests/test-hgweb-commands.t @ 39621:23b749b84b8a

py3: call hgweb.hgweb() with bytes values # skip-blame because just b'' prefixes I believe this should fix some tests. Differential Revision: https://phab.mercurial-scm.org/D4594
author Pulkit Goyal <pulkit@yandex-team.ru>
date Sat, 15 Sep 2018 00:37:20 +0300
parents c3491d3f8984
children 5abc47d4ca6b
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t	Sat Sep 15 00:24:05 2018 +0300
+++ b/tests/test-hgweb-commands.t	Sat Sep 15 00:37:20 2018 +0300
@@ -2276,7 +2276,7 @@
   > from mercurial import demandimport; demandimport.enable()
   > from mercurial.hgweb import hgweb
   > from mercurial.hgweb import wsgicgi
-  > app = hgweb('.', 'test')
+  > app = hgweb(b'.', b'test')
   > wsgicgi.launch(app)
   > HGWEB
   $ . "$TESTDIR/cgienv"