summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-07-12 19:49:41 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-07-12 19:49:41 (GMT)
commit2efaf967717f65303e8e8bcad9a9225f0f6f7713 (patch)
tree3f0ccb03341a246e8a664bb1d66e23355af49ed5 /Lib/distutils/tests
parent0bddfd0a535437f6aa23a69b1d18f9d67e5ac15b (diff)
downloadcpython-2efaf967717f65303e8e8bcad9a9225f0f6f7713.zip
cpython-2efaf967717f65303e8e8bcad9a9225f0f6f7713.tar.gz
cpython-2efaf967717f65303e8e8bcad9a9225f0f6f7713.tar.bz2
#6026: skip test_get_file_list when zlib is not available.
Diffstat (limited to 'Lib/distutils/tests')
-rw-r--r--Lib/distutils/tests/test_sdist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_sdist.py b/Lib/distutils/tests/test_sdist.py
index 1bc36c5..9a76eac 100644
--- a/Lib/distutils/tests/test_sdist.py
+++ b/Lib/distutils/tests/test_sdist.py
@@ -346,6 +346,7 @@ class SDistTestCase(PyPIRCCommandTestCase):
finally:
archive.close()
+ @unittest.skipUnless(zlib, "requires zlib")
def test_get_file_list(self):
# make sure MANIFEST is recalculated
dist, cmd = self.get_cmd()