From e780110df4d65a14d8088b28254c9cad16685f5c Mon Sep 17 00:00:00 2001 From: "fredrik.johansson" Date: Sat, 29 Sep 2007 21:13:01 +0000 Subject: [PATCH] test_integrals: 1/x should integrate to an analytic function --- sympy/integrals/tests/test_integrals.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sympy/integrals/tests/test_integrals.py b/sympy/integrals/tests/test_integrals.py index 1c5d2da..af66d72 100644 --- a/sympy/integrals/tests/test_integrals.py +++ b/sympy/integrals/tests/test_integrals.py @@ -42,6 +42,7 @@ def test_integration(): assert integrate(t, (t,0,x)) == x**2/2 assert integrate(3*t, (t,0,x))== 3*x**2/2 assert integrate(3*t**2, (t,0,x)) == x**3 + assert integrate(1/t, (t,1,x)) == log(x) assert integrate(-1/t**2, (t,1,x)) == 1/x-1 assert integrate(t**2+5*t-8, (t,0,x)) == x**3/3+5*x**2/2-8*x assert integrate(x**2, x) == x**3/3 @@ -53,10 +54,6 @@ def test_integration(): assert integrate(a*t**4, (t,0,x))==a*x**5/5 assert integrate(a*t**2+b*t+c, (t,0,x))==a*x**3/3+b*x**2/2+c*x -@XFAIL -def test_integration_xfail(): - assert integrate(1/t, (t,1,x)) == log(abs(x)) # gives log(x) - def test_multiple_integration(): y = Symbol('y') assert integrate((x**2)*(y**2), (x,0,1), (y,-1,2)) == Rational(1) -- 2.11.4.GIT