#18064: sage_doc crashes on cached_function when __doc__ is empty
-------------------------------------+-------------------------------------
       Reporter:  vdelecroix         |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.6
      Component:  documentation      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Vincent Delecroix  |    Reviewers:  Nathann Cohen
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vdelecroix/18064                 |  e436b6eb1d8b7e5ed689137a947cdbc8c9ccaf53
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):

 * status:  positive_review => needs_work


Comment:

 {{{
 sage -t --long src/sage/misc/cachefunc.pyx
 **********************************************************************
 File "src/sage/misc/cachefunc.pyx", line 800, in
 sage.misc.cachefunc.CachedFunction._sage_doc_
 Failed example:
     f._sage_doc_()
 Expected:
     'File: <doctest ...> (starting at line 1)\n'
 Got:
     'File: /scratch/buildbot/sage/redhawk-1/sage_git/build/<doctest
 sage.misc.cachefunc.CachedFunction._sage_doc_[7]> (starting at line 1)\n'
 **********************************************************************
 1 item had failures:
    1 of  10 in sage.misc.cachefunc.CachedFunction._sage_doc_
     [751 tests, 1 failure, 27.69 s]
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18064#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to