tests: test-archive.t use absolute_import
authortimeless <timeless@mozdev.org>
Fri, 06 May 2016 19:17:49 +0000
changeset 29179 ce1c6ab15807
parent 29178 0fb2fddd00a3
child 29182 6c0b1d964537
tests: test-archive.t use absolute_import This is a step to adding a mercurial dependency to simplify py3 compat
tests/test-archive.t
--- a/tests/test-archive.t	Fri May 06 19:16:16 2016 +0000
+++ b/tests/test-archive.t	Fri May 06 19:17:49 2016 +0000
@@ -69,7 +69,10 @@
   $ TIP=`hg id -v | cut -f1 -d' '`
   $ QTIP=`hg id -q`
   $ cat > getarchive.py <<EOF
-  > import os, sys, urllib2
+  > from __future__ import absolute_import
+  > import os
+  > import sys
+  > import urllib2
   > try:
   >     # Set stdout to binary mode for win32 platforms
   >     import msvcrt