tests: port inline cgi script in test-largefiles.t to python 3
authorAugie Fackler <augie@google.com>
Fri, 13 Apr 2018 22:27:16 -0400
changeset 37744 1398c2d74d3a
parent 37743 25136e03012e
child 37745 42567ffa10a2
tests: port inline cgi script in test-largefiles.t to python 3 Differential Revision: https://phab.mercurial-scm.org/D3353
tests/test-largefiles.t
--- a/tests/test-largefiles.t	Fri Apr 13 22:26:57 2018 -0400
+++ b/tests/test-largefiles.t	Fri Apr 13 22:27:16 2018 -0400
@@ -219,7 +219,7 @@
   > from mercurial import demandimport; demandimport.enable()
   > from mercurial.hgweb import hgweb
   > from mercurial.hgweb import wsgicgi
-  > application = hgweb('.', 'test repo')
+  > application = hgweb(b'.', b'test repo')
   > wsgicgi.launch(application)
   > EOF
   $ . "$TESTDIR/cgienv"