Comment #3 on issue 1521 by fab...@fseoane.net: doc/ doctests fail
http://code.google.com/p/sympy/issues/detail?id=1521

#1 could be fixed with this (I have not tested it, but should work):

diff --git a/sympy/utilities/runtests.py b/sympy/utilities/runtests.py
index f6d9f72..cc8c637 100644
--- a/sympy/utilities/runtests.py
+++ b/sympy/utilities/runtests.py
@@ -140,9 +140,10 @@ def doctest(*paths, **kwargs):
          for ex in excluded:
              doc_files.remove(ex)
          for doc_file in doc_files:
-            out = pdoctest.testfile(doc_file, module_relative=False)
+            failures, trials = pdoctest.testfile(doc_file,  
module_relative=False)
              print "Testing ", doc_file
-            print "Failed %s, tested %s" % out
+            print "Failed %s, tested %s" % (failures, trials)
+            dtest = dtest and not failures
      return dtest

--
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 sympy-issues@googlegroups.com
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to