summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-07-30 10:53:05 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-07-30 10:53:05 -0400
commit5ef93a05518c3cc6b48f45d1a7213fcb69df90b4 (patch)
treea766cfff613a6729b232d463ec266dd43263c783 /setuptools/tests/test_easy_install.py
parent2e8a63bd67e3f7261a5999503269465c58611f48 (diff)
downloadpython-setuptools-git-5ef93a05518c3cc6b48f45d1a7213fcb69df90b4.tar.gz
Move import to top
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py2
1 files changed, 1 insertions, 1 deletions
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')