def test_integer_odd(self):
        x = np.zeros(15, dtype=int)
        x[0] = 1
        f, p = periodogram(x)
        assert_allclose(f, np.arange(8.0)/15.0)
        q = np.ones(8)
        q[0] = 0
        q *= 15.0/2.0
        assert_allclose(p, q, atol=1e-15)
dataset/ETHPy150Open scipy/scipy/scipy/signal/tests/test_spectral.py/TestPeriodogram.test_integer_odd/swapped operands of `/`