Comment #4 on issue 1641 by smichr: doctests require newline only when run  
for single file
http://code.google.com/p/sympy/issues/detail?id=1641

The interpreter and the command line behave differently:
                                             interpreter      command line
no blank line before last """ of comment       not ok             ok
@vectorized def                                  ok             not ok

So not having a blank line before the last """ doesn't raise an error in  
the command
line running of the doctest (and the test is run), but none of the  
vectorized
function tests get run by the interpreter.

I ran the command line test as:
> \python26\python.exe ..\bin\doctest sympy/core/function.py

and I ran it in the interpreter as:
###
from sympy  import *
import doctest as pdoctest
pdoctest.testfile(r'\documents and  
settings\chris\sympy\sympy\core\function.py')
###

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to