Skip to content

Commit 82138b8

Browse files
committed
src/sage/symbolic/integration/integral.py: add "long time" for two tests
Two integrals in this file are taking a long time to run and are raising "slow doctest" warnings on the CI and on my own machine. It's unlikely that these can be sped up, so we add "# long time" to them to avoid the complaints.
1 parent 5683136 commit 82138b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/symbolic/integration/integral.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,12 +684,12 @@ def integrate(expression, v=None, a=None, b=None, algorithm=None, hold=False):
684684
The following definite integral is not found by maxima::
685685
686686
sage: f(x) = (x^4 - 3*x^2 + 6) / (x^6 - 5*x^4 + 5*x^2 + 4)
687-
sage: integrate(f(x), x, 1, 2, algorithm='maxima')
687+
sage: integrate(f(x), x, 1, 2, algorithm='maxima') # long time
688688
integrate((x^4 - 3*x^2 + 6)/(x^6 - 5*x^4 + 5*x^2 + 4), x, 1, 2)
689689
690690
but is nevertheless computed::
691691
692-
sage: integrate(f(x), x, 1, 2)
692+
sage: integrate(f(x), x, 1, 2) # long time
693693
-1/2*pi + arctan(8) + arctan(5) + arctan(2) + arctan(1/2)
694694
695695
Both fricas and sympy give the correct result::

0 commit comments

Comments
 (0)