Comment #4 on issue 1947 by nicolas.pourcelot: @property methods are not
doctested
http://code.google.com/p/sympy/issues/detail?id=1947
Concerning doctests, I noticed the following (see issue 1923, comment 30).
Such a docstring will not be tested by ./bin/doctest:
def my_func(*args, **kw):
"""Some text here.
>>> 1 + 1
3
Some other text:
>>> 1 + 2
4
"""
but this one will be:
def my_func(*args, **kw):
"""Some text here.
>>> 1 + 1
3
Some other text:
>>> 1 + 2
4
"""
and this one too:
def my_func(*args, **kw):
"""Some text here.
>>> 1 + 1
3
Some other text:
>>> 1 + 2
4
"""
though I can't explain this...
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.