id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,merged,author,reviewer,upstream,work_issues,branch,commit,dependencies,stopgaps
12793,Fix __cmp__ tests in sage/combinat/root_system/type_dual.py,jdemeyer,sage-combinat,"The following tests were added to `sage/combinat/root_system/type_dual.py` by #6588:
{{{
def __cmp__(self, other):
""""""
EXAMPLES::
sage: B4 = CartanType(['B', 4])
sage: B4dual = CartanType(['B', 4]).dual()
sage: F4dual = CartanType(['F', 4]).dual()
sage: cmp(F4dual, F4dual)
0
sage: cmp(F4dual, B4dual)
1
sage: cmp(B4dual, F4dual)
-1
sage: cmp(B4dual, B4)
1
.. todo:: do we really need a cmp, or just eq?
""""""
}}}
But whether `cmp()` outputs 1 or -1 is essentially arbitrary. This must be fixed immediately.",defect,closed,blocker,sage-5.0,combinatorics,fixed,,,sage-5.0.beta12,Jeroen Demeyer,Nicolas M. Thiéry,N/A,,,,,