py3: use absolute_import in test-hgweb-no-request-uri.t
authortimeless <timeless@mozdev.org>
Sun, 10 Apr 2016 21:32:01 +0000
changeset 28858 ba7809b053fd
parent 28857 9f67cf7cc28e
child 28859 af2e00c85d0a
py3: use absolute_import in test-hgweb-no-request-uri.t
tests/test-hgweb-no-request-uri.t
--- a/tests/test-hgweb-no-request-uri.t	Sun Apr 10 21:31:58 2016 +0000
+++ b/tests/test-hgweb-no-request-uri.t	Sun Apr 10 21:32:01 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()