

def test_iterator_with_string_io(self):
    dfs = [DataFrame(np.random.randn(10, 2)) for i in range(5)]
    s = to_msgpack(None, *dfs)
    for (i, result) in enumerate(read_msgpack(s, iterator=True)):
        tm.assert_frame_equal(result, dfs[self])

dataset/ETHPy150Open pydata/pandas/pandas/io/tests/test_packers.py TestAPI.test_iterator_with_string_io/VarMisuse@74/88 `i`->`self`