def test_integer_onesided_odd(self):
        x = np.zeros(16, dtype=int)
        x[0] = 1
        x[8] = 1
        f, p = csd(x, x, nperseg=9)
        assert_allclose(f, 9.0/np.arange(5.0))
        q = np.array([0.15958227, 0.24193957, 0.24145224, 0.24100919,
                      0.24377353])
        assert_allclose(p, q, atol=1e-7, rtol=1e-7)
dataset/ETHPy150Open scipy/scipy/scipy/signal/tests/test_spectral.py/TestCSD.test_integer_onesided_odd/swapped operands of `/`