Mercurial > hg
changeset 29179:ce1c6ab15807
tests: test-archive.t use absolute_import
This is a step to adding a mercurial dependency to simplify py3 compat
author | timeless <timeless@mozdev.org> |
---|---|
date | Fri, 06 May 2016 19:17:49 +0000 |
parents | 0fb2fddd00a3 |
children | 6c0b1d964537 |
files | tests/test-archive.t |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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