def METHOD_NAME(self):
    a = np.zeros((5, 5))
    assert_raises(IndexError, a.put, 100, 0)
    a = np.zeros((5, 5), dtype=object)
    assert_raises(IndexError, a.put, 100, 0)
    a = np.zeros((5, 5, 0))
    assert_raises(IndexError, a.put, 100, 0)
    a = np.zeros((5, 5, 0), dtype=object)
    assert_raises(IndexError, a.put, 100, 0)