From: Tarek Ziadé Date: Fri, 16 Oct 2009 23:07:19 +0000 (+0000) Subject: Merged revisions 75450 via svnmerge from X-Git-Tag: v3.2a1~2388 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b6eb183521cdd13f184815c7f5900ecf8af3fcd;p=python Merged revisions 75450 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75450 | tarek.ziade | 2009-10-17 01:04:16 +0200 (Sat, 17 Oct 2009) | 1 line this test requires zlib support ........ --- diff --git a/Lib/distutils/tests/test_archive_util.py b/Lib/distutils/tests/test_archive_util.py index 9990df36c3..71d32dce19 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