details:   http://hg.sympy.org/sympy/rev/e4488534b7d3
changeset: 1797:e4488534b7d3
user:      Ondrej Certik <[EMAIL PROTECTED]>
date:      Fri Oct 17 15:48:22 2008 +0200
description:
test_limits.py: a wrong test fixed.

The test was basically testing

limit(exp(y*x), x, oo) == oo

but this is only true if y is positive, so y was made positive.

diffs (11 lines):

diff -r a1d6573c8c9b -r e4488534b7d3 sympy/series/tests/test_limits.py
--- a/sympy/series/tests/test_limits.py Fri Oct 17 15:48:22 2008 +0200
+++ b/sympy/series/tests/test_limits.py Fri Oct 17 15:48:22 2008 +0200
@@ -119,6 +119,7 @@
     assert limit(log(2+sqrt(atan(x)*sin(1/x))), x, 0) == log(2)
 
 def test_issue772():
+    z = Symbol("z", positive=True)
     f = -1/z*exp(-z*x)
     assert limit(f, x, oo) == 0
     assert f.limit(x, oo) == 0

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-commits" group.
To post to this group, send email to sympy-commits@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sympy-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to