Commit 889b0255 authored by Zachary Ware's avatar Zachary Ware

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

parent 85217523
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment