def test_read_empty(self):
    self.assertRaises(StopIteration, (lambda : next(self.buffer._iterate_chunks(10))))
def test_read_empty(self):
    self.assertRaises(StopIteration, (lambda : next(self.buffer._iterate_chunks(10))))