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

p.s. to previous comment: it should be obvious by the second reference  
to "command
line" that I meant "interactive session".

I've traced through the process a bit more and see that the reason that  
vectorize'ed
functions aren't tested is because doctest (when testing source code) is  
looking at
the pyc files and there is a test in doctest,

                 if ((inspect.isfunction(val) or inspect.isclass(val)) and
                     self._from_module(module, val)):
                     self._find(tests, val, valname, module, source_lines,
                                globs, seen)

where the "self._from_module(module, val))" part fails because vectorized  
functions
appear to be coming from multidimensional rather than the module in which  
they are
defined, e.g. def diff() in functions doesn't appear to be coming from  
functions, it
appears to be coming from multidimensional.

/c

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