def testReadLinesMultiStream(self):
    self.createTempFile(streams=5)
    with BZ2File(self.filename) as bz2f:
        self.assertRaises(TypeError, bz2f.readlines, None)
        self.assertEqual(bz2f.readlines(), (self.TEXT_LINES * 5))
def testReadLinesMultiStream(self):
    self.createTempFile(streams=5)
    with BZ2File(self.filename) as bz2f:
        self.assertRaises(TypeError, bz2f.readlines, None)
        self.assertEqual(bz2f.readlines(), (self.TEXT_LINES * 5))