diff tests/test-largefiles.t @ 37744:1398c2d74d3a

tests: port inline cgi script in test-largefiles.t to python 3 Differential Revision: https://phab.mercurial-scm.org/D3353
author Augie Fackler <augie@google.com>
date Fri, 13 Apr 2018 22:27:16 -0400
parents 556984ae0005
children a936d1368fc5
line wrap: on
line diff
--- 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"