def METHOD_NAME(self):
    # See gh-14619 and gh-9505 which introduced the deprecation to fix
    # this. These tests are directly taken from gh-9505
    assert not np.issubdtype(np.float32, "float64")
    assert not np.issubdtype(np.float32, "f8")
    assert not np.issubdtype(np.int32, "int64")
    # for the following the correct spellings are
    # np.integer, np.floating, or np.complexfloating respectively:
    assert not np.issubdtype(np.int8, int)  # np.int8 is never np.int_
    assert not np.issubdtype(np.float32, float)
    assert not np.issubdtype(np.complex64, complex)
    assert not np.issubdtype(np.float32, "float")
    assert not np.issubdtype(np.float64, "f")
    # Test the same for the correct first datatype and abstract one
    # in the case of int, float, complex:
    assert np.issubdtype(np.float64, "float64")
    assert np.issubdtype(np.float64, "f8")
    assert np.issubdtype(np.int64, "int64")
    assert np.issubdtype(np.int8, np.integer)
    assert np.issubdtype(np.float32, np.floating)
    assert np.issubdtype(np.complex64, np.complexfloating)
    assert np.issubdtype(np.float64, "float")
    assert np.issubdtype(np.float32, "f")