this test requires zlib support

This commit is contained in:
Tarek Ziadé 2009-10-16 23:04:16 +00:00
parent b327258d4f
commit 19e6f0160d
1 changed files with 1 additions and 0 deletions

View File

@ -209,6 +209,7 @@ class ArchiveUtilTestCase(support.TempdirManager,
base_name = os.path.join(tmpdir, 'archive')
self.assertRaises(ValueError, make_archive, base_name, 'xxx')
@unittest.skipUnless(zlib, "Requires zlib")
def test_make_archive_owner_group(self):
# testing make_archive with owner and group, with various combinations
# this works even if there's not gid/uid support