Hi, I am a new user of SymPy. I wonder if the following result is a bug?
Anyway, the following code is a nuance. I am using the latest SymPy
class TestSymPy (unittest.TestCase):
def testSin(self):
'''
The expansion is not ordered by x**n: x**7 before x**5
'''
x = sympy.Symbol('x')
sin = sympy.sin(x)
self.assertTupleEqual(sin.args, (x,))
e = sin.series(x, 0, 10)
self.assertTupleEqual(e.args, (x, -x**3/6, -x**7/5040, x**5/120, x**
9/362880, sympy.O(x**10)))
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/9ad577e2-0a1b-45a7-8421-df7819697c98n%40googlegroups.com.