

def check_min_structure(self, data):
    for (typ, v) in self.minimum_structure.items():
        assert (typ in data), '"{0}" not found in unpacked data'.format(typ)
        for kind in v:
            assert (kind in typ[typ]), '"{0}" not found in data["{1}"]'.format(kind, typ)

dataset/ETHPy150Open pydata/pandas/pandas/io/tests/test_packers.py TestMsgpack.check_min_structure/VarMisuse@54/75 `data`->`typ`