def METHOD_NAME(file, multiline_file):
    """
    This test covers cases where the replacement string is numeric. The CLI
    parser yaml-fies it into a numeric type. If not converted back to a string
    type in file.replace, a TypeError occurs when the replace is attempted. See
    https://github.com/saltstack/salt/issues/9097 for more information.
    """
    file.replace(str(multiline_file), r"Etiam", 123)
    assert "123" in multiline_file.read_text()