def testIteratorMultiStream(self):
    self.createTempFile(streams=5)
    with BZ2File(self.filename) as bz2f:
        self.assertEqual(list(iter(bz2f)), (self.TEXT_LINES * 5))
def testIteratorMultiStream(self):
    self.createTempFile(streams=5)
    with BZ2File(self.filename) as bz2f:
        self.assertEqual(list(iter(bz2f)), (self.TEXT_LINES * 5))