Vitaly added the comment: Why do you say that "we aren't dealing with python sets"? Try:
import unittest as u class Test(u.TestCase): def test_equal_count_of_same_elements(self): self.assertItemsEqual(set([1,2,3]), set([1,2,3])) def test_equal_count_of_different_elements(self): self.assertItemsEqual(set([1,2,3]), set([1,2,4])) def test_different_count(self): self.assertItemsEqual(set([1,2,3]), set([1,2,3,4])) u.main() ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27071> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com