summaryrefslogtreecommitdiff
path: root/tests/test_archive_util.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2013-12-30 14:39:46 -0600
committerZachary Ware <zachary.ware@gmail.com>2013-12-30 14:39:46 -0600
commit889b0255164812a81f21cec8fae9c4cd6929b532 (patch)
tree2a998b6b4b1c36795d7b66c6bf6a404094b4f077 /tests/test_archive_util.py
parent85217523aea99ac5ef7adca77d234ea8727ab1c2 (diff)
downloadpython-setuptools-git-889b0255164812a81f21cec8fae9c4cd6929b532.tar.gz
Issue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound)
Diffstat (limited to 'tests/test_archive_util.py')
-rw-r--r--tests/test_archive_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_archive_util.py b/tests/test_archive_util.py
index 6b42c5a2..2d72af4a 100644
--- a/tests/test_archive_util.py
+++ b/tests/test_archive_util.py
@@ -308,7 +308,7 @@ class ArchiveUtilTestCase(support.TempdirManager,
owner='kjhkjhkjg', group='oihohoh')
self.assertTrue(os.path.exists(res))
- @unittest.skipUnless(zlib, "Requires zlib")
+ @unittest.skipUnless(ZLIB_SUPPORT, "Requires zlib")
@unittest.skipUnless(UID_GID_SUPPORT, "Requires grp and pwd support")
def test_tarfile_root_owner(self):
tmpdir, tmpdir2, base_name = self._create_files()