Patchwork D5683: py3: fix test-newcgi.t

login
register
mail settings
Submitter phabricator
Date Jan. 24, 2019, 8:37 p.m.
Message ID <f646ee5ad0d17388947807de5e0ddf7a@localhost.localdomain>
Download mbox | patch
Permalink /patch/38001/
State Not Applicable
Headers show

Comments

phabricator - Jan. 24, 2019, 8:37 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG9448b2e4c9fa: py3: fix test-newcgi.t (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5683?vs=13422&id=13427

REVISION DETAIL
  https://phab.mercurial-scm.org/D5683

AFFECTED FILES
  contrib/python3-whitelist
  tests/test-newcgi.t

CHANGE DETAILS




To: durin42, pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

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 @@ 
   > 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 @@ 
   > 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
diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist
--- a/contrib/python3-whitelist
+++ b/contrib/python3-whitelist
@@ -455,6 +455,7 @@ 
 test-narrow.t
 test-nested-repo.t
 test-newbranch.t
+test-newcgi.t
 test-newercgi.t
 test-nointerrupt.t
 test-obshistory.t