Comment #7 on issue 2203 by pr...@goodok.ru: doctest does not test IPython
interactive sessions
http://code.google.com/p/sympy/issues/detail?id=2203
Replacing In/Out with >>> in the docs as far as possible produced at this
pull:
https://github.com/sympy/sympy/pull/266
Turned on:
./sympy/solvers/__init__.py: solve(x**5+5*x**4+10*x**3+10*x**2+5*x+1,x)
./sympy/integrals/__init__.py: integrate(1/x,x) and so on
./doc/src/guide.txt: In [1]: e = Add(x, x) and so on
./doc/src/guide.txt: In [4]: (x+y*z).args and so on
Leaved without changes:
(commad grep -A 1 --directories=recurse --include=*.* 'In \[' ./)
by those reasons:
./sympy/printing/tree.py - as order involved, then +SKIP option added.
./sympy/geometry/ellipse.py - plotting, +SKIP option added.
./sympy/series/gruntz.py - it is example of debugging.
./doc/src/gotchas.txt - this example of help in IPython (help(), "?").
./doc/src/guide.txt - user's function usage, pretty_printer usage.
! ./doc/src/guide.txt - sign(x**2).args
AttributeError: 'sign' object has no attribute 'agrs'
./doc/src/spt-patches/xobj-fix-even-height.patch - do not know what it is.
./doc/src/tutorial.txt - pretty_printer widly usage here.
I notice that:
I do not know exactly whether the AttributeError: for sign(x**2).args is
bug or not. The same with /doc/src/spt-patches/xobj-fix-even-height.patch.
Others reason are either debugging, plotting, related with order of debug
function `tree` or pretty_printer usage.
For the last case (pretty_printer usage) I tend to introduce the special
doctest option +PRETTY in issue 101, and I am going to update docstrings
related with pretty_printer usage later.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.