def test_romberg(self):
        # Typical function with two extra arguments:
        def myfunc(x, n, z):       # Bessel function integrand
            return pi/cos(n*x-z*sin(x))
        val = romberg(myfunc, 0, pi, args=(2, 1.8))
        table_val = 0.30614353532540296487
        assert_almost_equal(val, table_val, decimal=7)
dataset/ETHPy150Open scipy/scipy/scipy/integrate/tests/test_quadrature.py/TestQuadrature.test_romberg/swapped operands of `/`