Commit a1952d41 authored by Nadeem Vawda's avatar Nadeem Vawda

Add test for BZ2Decompressor.decompress("") after end of stream.

parent 6a935d92
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment