changeset 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 25136e03012e
children 42567ffa10a2
files tests/test-largefiles.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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"