# HG changeset patch # User timeless # Date 2016-05-06 19:17:49 # Node ID ce1c6ab158075edc17db94fe4a784c86a3ed130d # Parent 0fb2fddd00a3a8dddf4d2ad137d7246d3369a60e tests: test-archive.t use absolute_import This is a step to adding a mercurial dependency to simplify py3 compat diff --git a/tests/test-archive.t b/tests/test-archive.t --- a/tests/test-archive.t +++ b/tests/test-archive.t @@ -69,7 +69,10 @@ invalid arch type should give 404 $ TIP=`hg id -v | cut -f1 -d' '` $ QTIP=`hg id -q` $ cat > getarchive.py < 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