diff options
author | Éric Araujo <merwok@netwok.org> | 2011-05-08 14:27:13 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-05-08 14:27:13 (GMT) |
commit | b76eb9743eed4db801979e6d4c111a49dc33ccfb (patch) | |
tree | 4fcbe1f5a63a0d9c6ece8e1e258ab697c90c7c67 /Lib/distutils | |
parent | 5ae6c42f52c650dc317dd5f0ecab8d5087c44872 (diff) | |
download | cpython-b76eb9743eed4db801979e6d4c111a49dc33ccfb.zip cpython-b76eb9743eed4db801979e6d4c111a49dc33ccfb.tar.gz cpython-b76eb9743eed4db801979e6d4c111a49dc33ccfb.tar.bz2 |
Make test_distutils pass without zlib (fixes #9435)
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/tests/test_sdist.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_sdist.py b/Lib/distutils/tests/test_sdist.py index 54a32b8..61f9c1f 100644 --- a/Lib/distutils/tests/test_sdist.py +++ b/Lib/distutils/tests/test_sdist.py @@ -388,6 +388,7 @@ class SDistTestCase(PyPIRCCommandTestCase): self.assertEqual(len(manifest2), 6) self.assertIn('doc2.txt', manifest2[-1]) + @unittest.skipUnless(zlib, "requires zlib") def test_manifest_marker(self): # check that autogenerated MANIFESTs have a marker dist, cmd = self.get_cmd() @@ -404,6 +405,7 @@ class SDistTestCase(PyPIRCCommandTestCase): self.assertEqual(manifest[0], '# file GENERATED by distutils, do NOT edit') + @unittest.skipUnless(zlib, "requires zlib") def test_manual_manifest(self): # check that a MANIFEST without a marker is left alone dist, cmd = self.get_cmd() |