diff options
Diffstat (limited to 'Lib/test/test_bz2.py')
-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 715468a..5b48e2b 100644 --- a/Lib/test/test_bz2.py +++ b/Lib/test/test_bz2.py @@ -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): |