def METHOD_NAME():
    """
    Regression test for https://github.com/astropy/astropy/issues/4122
    """
    f = io.StringIO()
    a = 1.0
    b = "1.0"
    identical = report_diff_values(a, b, fileobj=f)
    assert not identical
    out = f.getvalue()
    # fmt: off
    assert out == (
        "  (float) a> 1.0\n"
        "    (str) b> '1.0'\n"
        "           ? +   +\n"
    )
    # fmt: on