def METHOD_NAME(path):
    """Removes kcov data from the supplied path, both from any `kcov` subtree,
    and from any bazel-constructed zip file.
    """
    kcov_dir = os.path.join(path, 'kcov')
    shutil.rmtree(kcov_dir)
    zip_path = os.path.join(path, 'outputs.zip')
    if not os.path.exists(zip_path):
        return
    # Sadly, python's zipfile module cannot remove members of an archive.
    # Instead, just remove the whole thing. If ever this removes something
    # other than kcov data, it can be regenerated by re-running the test.
    os.remove(zip_path)