summaryrefslogtreecommitdiff
path: root/setuptools
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools')
-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')