Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium

New issue 1602 by asmeurer: doctests do not properly fail if a function  
must be imported
http://code.google.com/p/sympy/issues/detail?id=1602

I have an internal function in my ode branch, constantsimp(), that I want  
to add a doctest to, so I
can demonstrate how it works.  To run the actual test, you need to run

from sympy.solvers.ode import constantsimp

to access the constantsimp() function.  But if I leave that line out of the  
doctest, it still passes
normally, assumedly because it is running from within the scope of the  
module.  I think it should
run in a global scope and fail if any function that is not imported  
manually or with from sympy
import *.

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