diff --git a/src/sage/interfaces/sympy.py b/src/sage/interfaces/sympy.py index cc35a42a9f..6e577d5d8d 100644 --- a/src/sage/interfaces/sympy.py +++ b/src/sage/interfaces/sympy.py @@ -397,7 +397,7 @@ def _sympysage_rf(self): sage: from sympy import Symbol, rf sage: _ = var('x, y') sage: rfxy = rf(Symbol('x'), Symbol('y')) - sage: assert rising_factorial(x,y)._sympy_() == rfxy.rewrite('gamma') + sage: assert rising_factorial(x,y)._sympy_() == rfxy.rewrite('gamma', piecewise=False) sage: assert rising_factorial(x,y) == rfxy._sage_() """ from sage.arith.all import rising_factorial diff --git a/src/sage/symbolic/expression.pyx b/src/sage/symbolic/expression.pyx index 7c18ec1efa..c2619ac42d 100644 --- a/src/sage/symbolic/expression.pyx +++ b/src/sage/symbolic/expression.pyx @@ -955,6 +955,6 @@ cdef class Expression(CommutativeRingElement): sage: unicode_art(13 - I) 13 - ⅈ sage: unicode_art(1.3 - I) - 1.3 - 1.0⋅ⅈ + 1.3 - ⅈ sage: unicode_art(cos(I)) cosh(1)