Issue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound)

This commit is contained in:
Zachary Ware 2013-12-30 15:09:20 -06:00
parent efa2e04033
commit bfd488c51f
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ class SDistTestCase(PyPIRCCommandTestCase):
self.assertEqual(sorted(filenames), ['fake-1.0', 'fake-1.0/PKG-INFO',
'fake-1.0/README.manual'])
@unittest.skipUnless(zlib, "requires zlib")
@unittest.skipUnless(ZLIB_SUPPORT, "requires zlib")
@unittest.skipUnless(UID_GID_SUPPORT, "Requires grp and pwd support")
@unittest.skipIf(find_executable('tar') is None,
"The tar command is not found")