# HG changeset patch # User Augie Fackler # Date 2019-01-24 20:02:28 # Node ID 9448b2e4c9fa4c18a7d92716cb725ffee874637d # Parent 24bef6a99958af2776fdecbb3f96a29a06e27d5e py3: fix test-newcgi.t Differential Revision: https://phab.mercurial-scm.org/D5683 diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist --- a/contrib/python3-whitelist +++ b/contrib/python3-whitelist @@ -455,6 +455,7 @@ test-narrow-widen.t test-narrow.t test-nested-repo.t test-newbranch.t +test-newcgi.t test-newercgi.t test-nointerrupt.t test-obshistory.t diff --git a/tests/test-newcgi.t b/tests/test-newcgi.t --- a/tests/test-newcgi.t +++ b/tests/test-newcgi.t @@ -18,7 +18,7 @@ before d74fc8dec2b4 still work. > from mercurial.hgweb.request import wsgiapplication > > def make_web_app(): - > return hgweb("test", "Empty test repository") + > return hgweb(b"test", b"Empty test repository") > > wsgicgi.launch(wsgiapplication(make_web_app)) > HGWEB @@ -44,7 +44,7 @@ before d74fc8dec2b4 still work. > from mercurial.hgweb.request import wsgiapplication > > def make_web_app(): - > return hgwebdir("hgweb.config") + > return hgwebdir(b"hgweb.config") > > wsgicgi.launch(wsgiapplication(make_web_app)) > HGWEBDIR