mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +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 @@ class BZ2DecompressorTest(BaseTest):
|
|||
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