Hi Javier!

On 9 Jan., 23:01, javier <vengor...@gmail.com> wrote:
> The implementation of the conjugacy classes is now ticket 
> #7886:http://sagetrac.org/sage_trac/ticket/7886
>
> At the moment all the test pass except the one for _getitem_; since
> the elements of the conjugacy class appear in a random order, I don't
> know how to make a working test for that function.

Yes, sets and dictionaries are not good for doc tests. AFAIK, the
method of choice is to transforme the output into a sorted list,
  sage: sorted(Set([1,3,2]))
  [1, 2, 3]
  sage: sorted({3:2,1:5}.items())
  [(1, 5), (3, 2)]

Thank you very much for working on it!
Simon
-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to