diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-06-18 14:18:30 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-06-18 14:18:30 -0500 |
commit | 67f9020e66d82dbf0b0ada5772a960ecc054d850 (patch) | |
tree | 763b0c9219652c75b3ea5a3627ffcab0b85eafbf | |
parent | a85aa143f971ebfbb31ccaf58cb82a311f9315c6 (diff) | |
download | external_python_setuptools-67f9020e66d82dbf0b0ada5772a960ecc054d850.tar.gz external_python_setuptools-67f9020e66d82dbf0b0ada5772a960ecc054d850.tar.bz2 external_python_setuptools-67f9020e66d82dbf0b0ada5772a960ecc054d850.zip |
Remove unused import
--HG--
branch : distribute
-rw-r--r-- | setuptools/tests/test_sdist.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/tests/test_sdist.py b/setuptools/tests/test_sdist.py index ececa765..f48decf6 100644 --- a/setuptools/tests/test_sdist.py +++ b/setuptools/tests/test_sdist.py @@ -9,7 +9,7 @@ import tempfile import unittest import unicodedata -from setuptools.compat import StringIO, urllib +from setuptools.compat import StringIO from setuptools.command.sdist import sdist from setuptools.command.egg_info import manifest_maker from setuptools.dist import Distribution @@ -337,7 +337,7 @@ class TestSdistTest(unittest.TestCase): if sys.version_info >= (3,): fs_enc = sys.getfilesystemencoding() - if sys.platform == 'win32': + if sys.platform == 'win32': if fs_enc == 'cp1252': # Python 3 mangles the UTF-8 filename filename = filename.decode('cp1252') @@ -372,14 +372,14 @@ class TestSdistTest(unittest.TestCase): if sys.version_info >= (3,): #not all windows systems have a default FS encoding of cp1252 if sys.platform == 'win32': - # Latin-1 is similar to Windows-1252 however + # Latin-1 is similar to Windows-1252 however # on mbcs filesys it is not in latin-1 encoding fs_enc = sys.getfilesystemencoding() if fs_enc == 'mbcs': filename = filename.decode('mbcs') else: filename = filename.decode('latin-1') - + self.assertTrue(filename in cmd.filelist.files) else: # The Latin-1 filename should have been skipped |