Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3621 by [email protected]: SyntaxError in Python 2.5 rst
doctests
http://code.google.com/p/sympy/issues/detail?id=3621
See here:
https://travis-ci.org/sympy/sympy/jobs/4635151
3287<doctest index.rst[4]>:1: Warning: 'with' will become a reserved
keyword in Python 2.6
3288**********************************************************************
3289File "/home/travis/build/sympy/sympy/doc/src/modules/assumptions/index.rst",
line
48, in index.rst
3290Failed example:
3291 with assuming(*facts):
3292 print ask(Q.positive(2*x + y))
3293Exception raised:
3294 Traceback (most recent call last):
3295 File "/usr/lib/python2.5/doctest.py", line 1228, in __run
3296 compileflags, 1) in test.globs
3297 File "<doctest index.rst[4]>", line 1
3298 with assuming(*facts):
3299 ^
3300 SyntaxError: invalid syntax
3301**********************************************************************
33021 items had failures:
3303 1 of 80 in index.rst
3304***Test Failed*** 1 failures.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.