]> granicus.if.org Git - python/commitdiff
#6026: skip test_get_file_list when zlib is not available.
authorEzio Melotti <ezio.melotti@gmail.com>
Mon, 12 Jul 2010 19:49:41 +0000 (19:49 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Mon, 12 Jul 2010 19:49:41 +0000 (19:49 +0000)
Lib/distutils/tests/test_sdist.py

index 1bc36c5c8fcc886af4a2d2236009db49c2577864..9a76eacb65c1fe4326077d7e2f3f33fdfcd05fad 100644 (file)
@@ -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()