Mercurial > hg > mercurial-source
diff tests/test-push-cgi.t @ 40407: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 (2018-09-14) |
parents | 8e6f4939a69a |
children | 5abc47d4ca6b |
line wrap: on
line diff
--- a/tests/test-push-cgi.t +++ b/tests/test-push-cgi.t @@ -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