def test_failure(self):
    bzd = BZ2Decompressor()
    self.assertRaises(Exception, bzd.decompress, (self.BAD_DATA * 30))
    self.assertRaises(Exception, bzd.decompress, (self.BAD_DATA * 30))
def test_failure(self):
    bzd = BZ2Decompressor()
    self.assertRaises(Exception, bzd.decompress, (self.BAD_DATA * 30))
    self.assertRaises(Exception, bzd.decompress, (self.BAD_DATA * 30))