def METHOD_NAME():
    if sys.version_info > (3, 0):
        expect = (
            "y must be an integer array. Found <U1. "
            "Try passing the array as y.astype(np.int_)"
        )
    else:
        expect = (
            "y must be an integer array. Found |S1. "
            "Try passing the array as y.astype(np.int_)"
        )
    assert_raises(ValueError, expect, check_Xy, X, np.array(["a", "b", "c", "d"]))