

def venv_fixture(pickle_file):
    'Loads required virtualenv pkg data from a pickle file\n\n    :param pickle_file: path to a .pickle file\n    :returns: a tuple of pkgs, pkg_index, req_map\n    :rtype: tuple\n\n    '
    with open(pickle_file, 'rb') as f:
        pkgs = pickle.load(f)
        dist_index = build_dist_index(pkgs)
        tree = construct_tree(dist_index)
        return (pkgs, dist_index, f)

dataset/ETHPy150Open naiquevin/pipdeptree/tests/test_pipdeptree.py venv_fixture/VarMisuse@53/151 `tree`->`f`