def METHOD_NAME(case, new_ver, tmpdir, caplog):
    caplog.set_level(
        logging.DEBUG,
        logger="conda_forge_tick.migrators.version",
    )
    with open(os.path.join(YAML_PATH, "version_%s.yaml" % case)) as fp:
        in_yaml = fp.read()
    with open(os.path.join(YAML_PATH, "version_%s_correct.yaml" % case)) as fp:
        out_yaml = fp.read()
    attrs = run_test_migration(
        m=VERSION,
        inp=in_yaml,
        output=out_yaml,
        kwargs={"new_version": new_ver},
        prb="Dependencies have been updated if changed",
        mr_out={},
        tmpdir=tmpdir,
    )
    print(
        "\n\n"
        + attrs.get("version_pr_info", {})
        .get("new_version_errors", {})
        .get(new_ver, "")
        + "\n\n",
    )