def test_consistency():
    x = np.logspace(-30, 300, 200)
    dataset = np.vstack((x + 0j, spence(x))).T
    FuncData(spence, dataset, 0, 1, rtol=1e-14).check()
Make sure the implementation of spence for real arguments
dataset/ETHPy150Open scipy/scipy/scipy/special/tests/test_spence.py/test_consistency