Mercurial > hg-stable
diff tests/test-oldcgi.t @ 39637: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-oldcgi.t Sat Sep 15 00:24:05 2018 +0300 +++ b/tests/test-oldcgi.t Sat Sep 15 00:37:20 2018 +0300 @@ -14,7 +14,7 @@ > # sys.path.insert(0, "/path/to/python/lib") # if not a system-wide install > from mercurial import hgweb > - > h = hgweb.hgweb("test", "Empty test repository") + > h = hgweb.hgweb(b"test", b"Empty test repository") > h.run() > HGWEB