mirror of https://github.com/python/cpython.git
Add test for BZ2Decompressor.decompress("") after end of stream.
This commit is contained in:
parent
6a935d9230
commit
a1952d4120
|
@ -365,6 +365,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, memuse=1.25, dry_run=False)
|
||||
def testBigmem(self, unused_size):
|
||||
|
|
Loading…
Reference in New Issue