diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2013-12-30 20:39:46 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2013-12-30 20:39:46 (GMT) |
commit | 2ee2c955954167318173ea3a60c1a03f4a0d21c6 (patch) | |
tree | b10013c3d9384cfcd5b89d9cb33a48a3c915e14a /Lib/distutils | |
parent | f598558afb3e224b0926b0747a7fdcfbca76cf68 (diff) | |
download | cpython-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.py | 2 |
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() |