#21078: failing doctest in TamariIntervalPosets_size
------------------------------+-----------------------------
       Reporter:  vdelecroix  |         Type:  defect
         Status:  new         |     Priority:  blocker
      Milestone:  sage-7.3    |    Component:  combinatorics
       Keywords:              |    Merged in:
        Authors:              |    Reviewers:
Report Upstream:  N/A         |  Work issues:
         Branch:              |       Commit:
   Dependencies:              |     Stopgaps:
------------------------------+-----------------------------
 There is a failing doctest in `sage/combinat/interval_posets.py` in
 sage-7.3.beta9
 {{{
 sage: from sage.combinat.interval_posets import TamariIntervalPosets_size
 sage: for i in xrange(6): TestSuite(TamariIntervalPosets_size(i)).run()
 ------------------------------------------------------------
 The following tests failed: _test_cardinality
 Failure in _test_cardinality:
 Traceback (most recent call last):
   File "/opt/sage/local/lib/python2.7/site-
 packages/sage/misc/sage_unittest.py", line 283, in run
     test_method(tester = tester)
   File "/opt/sage/local/lib/python2.7/site-
 packages/sage/categories/sets_cat.py", line 1410, in _test_cardinality
     "the output of the method cardinality must either be a Sage integer or
 infinity. Not {}.".format(type(cardinality)))
   File "/opt/sage/local/lib/python/unittest/case.py", line 424, in
 assertTrue
     raise self.failureException(msg)
 AssertionError: the output of the method cardinality must either be a Sage
 integer or infinity. Not <type 'int'>.
 ------------------------------------------------------------
 The following tests failed: _test_cardinality
 }}}

--
Ticket URL: <https://trac.sagemath.org/ticket/21078>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to