From 5ef93a05518c3cc6b48f45d1a7213fcb69df90b4 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 30 Jul 2016 10:53:05 -0400 Subject: Move import to top --- setuptools/tests/test_easy_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/tests/test_easy_install.py') diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index 161c673f..0f1ab253 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -14,6 +14,7 @@ import logging import itertools import distutils.errors import io +import zipfile import time from setuptools.extern.six.moves import urllib @@ -161,7 +162,6 @@ class TestEasyInstallTest: ] sdist_name = 'setuptools-test-unicode-1.0.zip' sdist = tmpdir / sdist_name - import zipfile # can't use make_sdist, because the issue only occurs # with zip sdists. sdist_zip = zipfile.ZipFile(str(sdist), 'w') -- cgit v1.2.1