Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

> I think it should require only a a sort 

It's possible to have non-sortable elements in the set, so you'll either need 
to sort on the repr of the elements or have a fallback:

    assertSetEqual({10, None, 'abc'}, {20, 3+4j, 10})

----------
assignee:  -> michael.foord
nosy: +rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36230>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to