diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2013-12-30 21:09:20 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2013-12-30 21:09:20 (GMT) |
commit | bfd488c51f0297f2fde99d78c6ef43c56187c684 (patch) | |
tree | b477cb65c14b98ab0fb806d423e2a6e2f873f282 /Lib | |
parent | efa2e0403372b409dd96d5410b650eab976c23c0 (diff) | |
download | cpython-bfd488c51f0297f2fde99d78c6ef43c56187c684.zip cpython-bfd488c51f0297f2fde99d78c6ef43c56187c684.tar.gz cpython-bfd488c51f0297f2fde99d78c6ef43c56187c684.tar.bz2 |
Issue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/tests/test_sdist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_sdist.py b/Lib/distutils/tests/test_sdist.py index 49e267e..5a04e0d 100644 --- a/Lib/distutils/tests/test_sdist.py +++ b/Lib/distutils/tests/test_sdist.py @@ -429,7 +429,7 @@ class SDistTestCase(PyPIRCCommandTestCase): self.assertEqual(sorted(filenames), ['fake-1.0', 'fake-1.0/PKG-INFO', 'fake-1.0/README.manual']) - @unittest.skipUnless(zlib, "requires zlib") + @unittest.skipUnless(ZLIB_SUPPORT, "requires zlib") @unittest.skipUnless(UID_GID_SUPPORT, "Requires grp and pwd support") @unittest.skipIf(find_executable('tar') is None, "The tar command is not found") |