diff options
author | Éric Araujo <merwok@netwok.org> | 2011-05-08 16:27:13 +0200 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-05-08 16:27:13 +0200 |
commit | 1c814933dad1bea8eff9fbb8c39064d6de379a8d (patch) | |
tree | 855a123ef800cc585c83281a8a3249352bc0b7ed | |
parent | 6a9182d09877ea797ab029f1c28ca9983921666f (diff) | |
download | cpython-1c814933dad1bea8eff9fbb8c39064d6de379a8d.tar.gz |
Make test_distutils pass without zlib (fixes #9435)
-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 54a32b88f5..61f9c1f79b 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() |