#15475: Reenable broken doctests in #15473 and #15476 when #10963 is merged
-------------------------------------+-------------------------------------
       Reporter:  darij              |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.3
      Component:  categories         |   Resolution:
       Keywords:  10963,             |    Merged in:
  categories, c3, coercion,          |    Reviewers:
  transitivity, descent algebras,    |  Work issues:
  symmetric functions                |       Commit:
        Authors:                     |  da61e19ba32e4eb5f2348444df13edba50283b75
Report Upstream:  N/A                |     Stopgaps:
         Branch:                     |
  public/categories/15475            |
   Dependencies:  #10963, #15473,    |
  #15476                             |
-------------------------------------+-------------------------------------

Comment (by darij):

 OUCH. I just realized that I forgot to reenable the symmetric functions
 doctest, and not unexpectedly it is still broken. OK, this thing must be
 unrelated to #10963 after all. Simon, can you make sense of this?

 {{{
 Doctesting 1 file.
 sage -t src/sage/combinat/sf/sfa.py
 **********************************************************************
 File "src/sage/combinat/sf/sfa.py", line 752, in
 
sage.combinat.sf.sfa.SymmetricFunctionsBases.ParentMethods.corresponding_basis_over
 Failed example:
     s.corresponding_basis_over(Integers(13))
 Exception raised:
     Traceback (most recent call last):
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 480, in _run
         self.execute(example, compiled, test.globs)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 839, in execute
         exec compiled in globs
       File "<doctest
 
sage.combinat.sf.sfa.SymmetricFunctionsBases.ParentMethods.corresponding_basis_over[5]>",
 line 1, in <module>
         s.corresponding_basis_over(Integers(Integer(13)))
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/combinat/sf/sfa.py", line 814, in corresponding_basis_over
         return attrcall(self._basis)(SymmetricFunctions(R))
       File "classcall_metaclass.pyx", line 330, in
 sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
 (build/cythonized/sage/misc/classcall_metaclass.c:1282)
       File "cachefunc.pyx", line 1077, in
 sage.misc.cachefunc.WeakCachedFunction.__call__
 (build/cythonized/sage/misc/cachefunc.c:6486)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/structure/unique_representation.py", line 1021, in
 __classcall__
         instance = typecall(cls, *args, **options)
       File "classcall_metaclass.pyx", line 518, in
 sage.misc.classcall_metaclass.typecall
 (build/cythonized/sage/misc/classcall_metaclass.c:1665)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/combinat/sf/sf.py", line 763, in __init__
         Parent.__init__(self, category =
 GradedHopfAlgebras(R).WithRealizations())
       File "parent.pyx", line 358, in
 sage.structure.parent.Parent.__init__
 (build/cythonized/sage/structure/parent.c:4247)
       File "parent.pyx", line 418, in
 sage.structure.parent.Parent._init_category_
 (build/cythonized/sage/structure/parent.c:4797)
       File "lazy_attribute.pyx", line 127, in
 sage.misc.lazy_attribute._lazy_attribute.__get__
 (build/cythonized/sage/misc/lazy_attribute.c:1353)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/categories/category.py", line 1298, in parent_class
         return self._make_named_class('parent_class', 'ParentMethods')
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/categories/category.py", line 2568, in _make_named_class
         cache=cache, **options)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/categories/category.py", line 1221, in _make_named_class
         reduction = reduction, cache = cache)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/structure/dynamic_class.py", line 316, in dynamic_class
         return dynamic_class_internal.f(name, bases, cls, reduction,
 doccls, prepend_cls_bases)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/structure/dynamic_class.py", line 411, in
 dynamic_class_internal
         return metaclass(name, bases, methods)
     TypeError: Cannot create a consistent method resolution
     order (MRO) for bases Algebras.parent_class,
 Monoids.WithRealizations.parent_class, Bialgebras.parent_class,
 Coalgebras.WithRealizations.parent_class
 **********************************************************************
 File "src/sage/combinat/sf/sfa.py", line 758, in
 
sage.combinat.sf.sfa.SymmetricFunctionsBases.ParentMethods.corresponding_basis_over
 Failed example:
     mj.corresponding_basis_over(Integers(13))
 Exception raised:
     Traceback (most recent call last):
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 480, in _run
         self.execute(example, compiled, test.globs)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 839, in execute
         exec compiled in globs
       File "<doctest
 
sage.combinat.sf.sfa.SymmetricFunctionsBases.ParentMethods.corresponding_basis_over[9]>",
 line 1, in <module>
         mj.corresponding_basis_over(Integers(Integer(13)))
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/combinat/sf/sfa.py", line 814, in corresponding_basis_over
         return attrcall(self._basis)(SymmetricFunctions(R))
       File "classcall_metaclass.pyx", line 330, in
 sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
 (build/cythonized/sage/misc/classcall_metaclass.c:1282)
       File "cachefunc.pyx", line 1077, in
 sage.misc.cachefunc.WeakCachedFunction.__call__
 (build/cythonized/sage/misc/cachefunc.c:6486)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/structure/unique_representation.py", line 1021, in
 __classcall__
         instance = typecall(cls, *args, **options)
       File "classcall_metaclass.pyx", line 518, in
 sage.misc.classcall_metaclass.typecall
 (build/cythonized/sage/misc/classcall_metaclass.c:1665)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/combinat/sf/sf.py", line 763, in __init__
         Parent.__init__(self, category =
 GradedHopfAlgebras(R).WithRealizations())
       File "parent.pyx", line 358, in
 sage.structure.parent.Parent.__init__
 (build/cythonized/sage/structure/parent.c:4247)
       File "parent.pyx", line 418, in
 sage.structure.parent.Parent._init_category_
 (build/cythonized/sage/structure/parent.c:4797)
       File "lazy_attribute.pyx", line 127, in
 sage.misc.lazy_attribute._lazy_attribute.__get__
 (build/cythonized/sage/misc/lazy_attribute.c:1353)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/categories/category.py", line 1298, in parent_class
         return self._make_named_class('parent_class', 'ParentMethods')
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/categories/category.py", line 2568, in _make_named_class
         cache=cache, **options)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/categories/category.py", line 1221, in _make_named_class
         reduction = reduction, cache = cache)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/structure/dynamic_class.py", line 316, in dynamic_class
         return dynamic_class_internal.f(name, bases, cls, reduction,
 doccls, prepend_cls_bases)
       File "/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/sage/structure/dynamic_class.py", line 411, in
 dynamic_class_internal
         return metaclass(name, bases, methods)
     TypeError: Cannot create a consistent method resolution
     order (MRO) for bases Algebras.parent_class,
 Monoids.WithRealizations.parent_class, Bialgebras.parent_class,
 Coalgebras.WithRealizations.parent_class
 **********************************************************************
 1 item had failures:
    2 of  43 in
 
sage.combinat.sf.sfa.SymmetricFunctionsBases.ParentMethods.corresponding_basis_over
     [881 tests, 2 failures, 19.17 s]
 ----------------------------------------------------------------------
 sage -t src/sage/combinat/sf/sfa.py  # 2 doctests failed
 ----------------------------------------------------------------------
 }}}
 ----
 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=da61e19ba32e4eb5f2348444df13edba50283b75
 da61e19]||{{{reenable SymmetricFunctions doctest}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/15475#comment:32>
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