Skip to content

Commit

Permalink
adding doctest for 33640
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Jun 22, 2022
1 parent 80b2e68 commit b41c93f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sage/symbolic/expression.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -11885,6 +11885,11 @@ cdef class Expression(Expression_abc):
x + sqrt(x)
sage: factor((x + sqrt(x))/(x - sqrt(x)))
(x + sqrt(x))/(x - sqrt(x))
Check that :trac:`33640` is fixed::
sage: ((x + 1)^2 - 2*x - 1).factor()
x^2
"""
from sage.calculus.calculus import symbolic_expression_from_maxima_string
cdef GEx x
Expand Down

0 comments on commit b41c93f

Please sign in to comment.