def METHOD_NAME(tmock, in_out_yaml, caplog, tmpdir):
    caplog.set_level(
        logging.DEBUG,
        logger="conda_forge_tick.migrators.migration_yaml",
    )
    tmock.return_value = 12345.2
    pname = "boost"
    pin_ver = "1.99.0"
    curr_pin = "1.70.0"
    pin_spec = "x.x"
    MYM = MigrationYamlCreator(pname, pin_ver, curr_pin, pin_spec, "hi", G, G)
    with pushd(tmpdir):
        eval_cmd("git init .")
    os.makedirs(os.path.join(tmpdir, "migrations"), exist_ok=True)
    run_test_migration(
        m=MYM,
        inp=in_out_yaml[0],
        output=in_out_yaml[1],
        kwargs={},
        prb="This PR has been triggered in an effort to update the pin",
        mr_out={
            "migrator_name": "MigrationYamlCreator",
            "migrator_version": MYM.migrator_version,
            "name": pname,
            "pin_version": "1.99",
        },
        tmpdir=tmpdir,
    )
    boost_file = os.path.join(tmpdir, "migrations", "boost199.yaml")
    assert os.path.exists(boost_file)
    with open(boost_file) as fp:
        bf_out = fp.read()
    assert BOOST_YAML == bf_out