mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
Add test for BZ2Decompressor.decompress("") after end of stream.
This commit is contained in:
parent
6a935d9230
commit
a1952d4120
1 changed files with 1 additions and 0 deletions
|
@ -365,6 +365,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, memuse=1.25, dry_run=False)
|
||||
def testBigmem(self, unused_size):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue