py3: use absolute_import in test-hgweb-no-path-info.t
authortimeless <timeless@mozdev.org>
Sun, 10 Apr 2016 21:31:58 +0000
changeset 28857 9f67cf7cc28e
parent 28856 0d530299acf2
child 28858 ba7809b053fd
py3: use absolute_import in test-hgweb-no-path-info.t
tests/test-hgweb-no-path-info.t
--- a/tests/test-hgweb-no-path-info.t	Mon Apr 11 00:18:27 2016 +0100
+++ b/tests/test-hgweb-no-path-info.t	Sun Apr 10 21:31:58 2016 +0000
@@ -15,9 +15,14 @@
   summary:     test
   
   $ cat > request.py <<EOF
-  > from mercurial.hgweb import hgweb, hgwebdir
+  > from __future__ import absolute_import
+  > import os
+  > import sys
   > from StringIO import StringIO
-  > import os, sys
+  > from mercurial.hgweb import (
+  >     hgweb,
+  >     hgwebdir,
+  > )
   > 
   > errors = StringIO()
   > input = StringIO()