summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2013-12-30 20:39:46 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2013-12-30 20:39:46 (GMT)
commit2ee2c955954167318173ea3a60c1a03f4a0d21c6 (patch)
treeb10013c3d9384cfcd5b89d9cb33a48a3c915e14a /Lib/distutils
parentf598558afb3e224b0926b0747a7fdcfbca76cf68 (diff)
downloadcpython-2ee2c955954167318173ea3a60c1a03f4a0d21c6.zip
cpython-2ee2c955954167318173ea3a60c1a03f4a0d21c6.tar.gz
cpython-2ee2c955954167318173ea3a60c1a03f4a0d21c6.tar.bz2
Issue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound)
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/tests/test_archive_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_archive_util.py b/Lib/distutils/tests/test_archive_util.py
index 6b42c5a..2d72af4 100644
--- a/Lib/distutils/tests/test_archive_util.py
+++ b/Lib/distutils/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()