From: Tarek Ziadé Date: Fri, 16 Oct 2009 23:04:16 +0000 (+0000) Subject: this test requires zlib support X-Git-Tag: v2.7a1~333 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19e6f0160d4087e8412ef5b740b826ff6c3d584e;p=python this test requires zlib support --- diff --git a/Lib/distutils/tests/test_archive_util.py b/Lib/distutils/tests/test_archive_util.py index 3faf5e0d3b..b91986ba95 100644 --- a/Lib/distutils/tests/test_archive_util.py +++ b/Lib/distutils/tests/test_archive_util.py @@ -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