def testReadMultiStream(self):
    self.createTempFile(streams=5)
    with BZ2File(self.filename) as bz2f:
        self.assertRaises(TypeError, bz2f.read, float())
        self.assertEqual(bz2f.read(), (self.TEXT * 5))
def testReadMultiStream(self):
    self.createTempFile(streams=5)
    with BZ2File(self.filename) as bz2f:
        self.assertRaises(TypeError, bz2f.read, float())
        self.assertEqual(bz2f.read(), (self.TEXT * 5))