Comment #17 on issue 2252 by ppn.onl...@me.com: activate docstring examples for symarray()
http://code.google.com/p/sympy/issues/detail?id=2252

Yes I'm sure that would work, and I would say that's the best option is the main issue was testing. Using == or a print on except are both convoluted and not very readable, but I would stick to the latter one keeping in mind it is supposed to be an example.

In fact I would say that the docstrings are more important as examples than tests, I mean aren't doctest supposed to be a way to keep docstrings updated easliy? While writing them in this way will make them pass under doctest with or without numpy they become very bad ways of documenting stuff. I'll take a look into what it would take to implement a directive and how much work it would take.

--
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.

Reply via email to