Lines Matching defs:zlib
25 import zlib
27 zlib = None
149 # This could cause a stack overflow before: importing zlib.py
150 # from a compressed archive would cause zlib to be imported
151 # which would find zlib.py in the archive, which would... etc.
154 # to trigger zipimport to import zlib (zipimport caches the
155 # zlib.decompress function object, after which the problem being
161 # This test fails on platforms on which the zlib module is
166 if "zlib" in sys.builtin_module_names:
167 self.skipTest('zlib is a builtin module')
168 if "zlib" in sys.modules:
169 del sys.modules["zlib"]
170 files = {"zlib.py": (NOW, test_src)}
172 self.doTest(".py", files, "zlib")