mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Merge heads
This commit is contained in:
commit
4b16ff2c44
3 changed files with 110 additions and 44 deletions
|
|
@ -193,6 +193,7 @@ class CompressTestCase(BaseCompressTestCase, unittest.TestCase):
|
|||
data = b'x' * size
|
||||
try:
|
||||
self.assertRaises(OverflowError, zlib.compress, data, 1)
|
||||
self.assertRaises(OverflowError, zlib.decompress, data)
|
||||
finally:
|
||||
data = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue