'Check stats.rankdata with an array of length 1.'

def test_one(self):

    data = [100]
    a = np.array(data, dtype=int)
    r = rankdata(a)
    assert_array_equal(r, np.array([1.0], dtype=np.float64))
    r = rankdata(data)
    assert_array_equal(r, np.array([1.0], dtype=np.float64))
