def test_multi_pass(self): with transform._record_buffer(self.seq_iter) as iter_f: records = list(iter_f()) self._compare(records) records = list(iter_f()) self._compare(records)