def METHOD_NAME(self):
    assert_raises(TypeError, sputils.validateaxis, (0, 1))
    assert_raises(TypeError, sputils.validateaxis, 1.5)
    assert_raises(ValueError, sputils.validateaxis, 3)
    # These function calls should not raise errors
    for axis in (-2, -1, 0, 1, None):
        sputils.validateaxis(axis)