def testReadLineMultiStream(self):
    self.createTempFile(streams=5)
    with BZ2File(self.filename) as bz2f:
        self.assertRaises(TypeError, bz2f.readline, None)
        for line in (self.TEXT_LINES * 5):
            self.assertEqual(bz2f.readline(), line)
def testReadLineMultiStream(self):
    self.createTempFile(streams=5)
    with BZ2File(self.filename) as bz2f:
        self.assertRaises(TypeError, bz2f.readline, None)
        for line in (self.TEXT_LINES * 5):
            self.assertEqual(bz2f.readline(), line)