Mercurial > public > mercurial-scm > hg
diff tests/test-push-cgi.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 | 8e6f4939a69a |
children | 5abc47d4ca6b |
line wrap: on
line diff
--- a/tests/test-push-cgi.t Sat Sep 15 00:24:05 2018 +0300 +++ b/tests/test-push-cgi.t Sat Sep 15 00:37:20 2018 +0300 @@ -21,7 +21,7 @@ > from mercurial import demandimport; demandimport.enable() > from mercurial.hgweb import hgweb > from mercurial.hgweb import wsgicgi - > application = hgweb('.', 'test repository') + > application = hgweb(b'.', b'test repository') > wsgicgi.launch(application) > HGWEB $ chmod 755 hgweb.cgi