mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Merge: Add test for BZ2Decompressor.decompress("") after end of stream.
This commit is contained in:
commit
6294305c2f
1 changed files with 1 additions and 0 deletions
|
|
@ -647,6 +647,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