#13618: Doctest coverage to rings
------------------------------------+---------------------------------------
       Reporter:  tscrim            |         Owner:  tscrim      
           Type:  enhancement       |        Status:  needs_review
       Priority:  major             |     Milestone:  sage-5.5    
      Component:  doctest           |    Resolution:              
       Keywords:  doctests          |   Work issues:              
Report Upstream:  N/A               |     Reviewers:              
        Authors:  Travis Scrimshaw  |     Merged in:              
   Dependencies:  #13634, #12802    |      Stopgaps:              
------------------------------------+---------------------------------------

Comment (by vbraun):

 Here is an example from
 sage/rings/polynomial/infinite_polynomial_element.py
 {{{
     def _hash_(self):
         """
         TESTS::

             sage: X.<x> = InfinitePolynomialRing(QQ)
             sage: a = x[0] + x[1]
             sage: hash(a) # indirect doctest
             -6172640511012239345   # 64-bit
             -957478897             # 32-bit

         """
         return hash(self._p)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13618#comment:8>
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 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/sage-trac?hl=en.

Reply via email to