mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Merge: Add test for BZ2Decompressor.decompress("") after end of stream.
This commit is contained in:
commit
8ca705d549
1 changed files with 1 additions and 0 deletions
|
|
@ -640,6 +640,7 @@ def testEOFError(self):
|
|||
bz2d = BZ2Decompressor()
|
||||
text = bz2d.decompress(self.DATA)
|
||||
self.assertRaises(EOFError, bz2d.decompress, b"anything")
|
||||
self.assertRaises(EOFError, bz2d.decompress, b"")
|
||||
|
||||
@bigmemtest(size=_4G + 100, memuse=3)
|
||||
def testDecompress4G(self, size):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue