Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit b261ec3

Browse files
committed
23923: fix doctest
1 parent b80d98c commit b261ec3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/sage/symbolic/integration/integral.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,8 @@ def integrate(expression, v=None, a=None, b=None, algorithm=None, hold=False):
505505
sage: _ = var('y, z')
506506
sage: (x^y - z).integrate(y)
507507
-y*z + x^y/log(x)
508-
sage: (x^y - z).integrate(y, algorithm="sympy") # see Trac #14694
509-
Traceback (most recent call last):
510-
...
511-
AttributeError: 'ExprCondPair' object has no attribute '_sage_'
508+
sage: (x^y - z).integrate(y, algorithm="sympy")
509+
-y*z + cases(((log(x) == 0, y), (1, x^y/log(x))))
512510
513511
We integrate the above function in Maple now::
514512

0 commit comments

Comments
 (0)