[Python-checkins] cpython: Issue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound)
zach.ware
python-checkins at python.org
Mon Dec 30 21:40:07 CET 2013
http://hg.python.org/cpython/rev/83f12a9593db
changeset: 88225:83f12a9593db
user: Zachary Ware <zachary.ware at gmail.com>
date: Mon Dec 30 14:39:46 2013 -0600
summary:
Issue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound)
files:
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
--- a/Lib/distutils/tests/test_archive_util.py
+++ b/Lib/distutils/tests/test_archive_util.py
@@ -308,7 +308,7 @@
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()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list