diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_bz2.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py index 257b144..f4e81db 100644 --- a/Lib/test/test_bz2.py +++ b/Lib/test/test_bz2.py @@ -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): |