From 2efaf967717f65303e8e8bcad9a9225f0f6f7713 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 12 Jul 2010 19:49:41 +0000 Subject: #6026: skip test_get_file_list when zlib is not available. --- Lib/distutils/tests/test_sdist.py | 1 + 1 file changed, 1 insertion(+) 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() -- cgit v0.12