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

Running
>>> doctest()
gives completely different errors.  For example, there is a legitimate  
error in guess_solve_strategy in solvers.py
(guess_solve_strategy is never imported).  If you do
$./bin/doctest
or
$./setup.py test
it is never caught.

If you do,
$./bin/doctest sympy/solvers/solvers.py

it shows you the error (though if there are any doctests that do not have a  
newline before the end """, it will not catch
them until you fix that).

If you do
>>> doctest()
in ipython, it gives a bunch of errors, but they are all things that  
shouldn't raise errors, like dictionaries being out of
order or .
The same for individual files with
>>> doctest('/sympy/solvers/solvers.py')
It doesn't catch any of the legitimate errors, such as the one above.  So I  
guess this is a third problem.

In the regular python console, this doesn't raise any errors, legitimate or  
no.

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