

def test_tree():
    assert (len(tree) == len(pkgs))
    assert all(((isinstance(k, DistPackage) and all((isinstance(v, ReqPackage) for v in k))) for (k, vs) in tree.items()))

dataset/ETHPy150Open naiquevin/pipdeptree/tests/test_pipdeptree.py test_tree/VarMisuse@46/50 `vs`->`k`