Message266190
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() |
|
Date |
User |
Action |
Args |
2016-05-23 21:36:15 | vitaly | set | recipients:
+ vitaly, georg.brandl, rhettinger, gregory.p.smith, rbcollins, ezio.melotti, r.david.murray, michael.foord, serhiy.storchaka |
2016-05-23 21:36:15 | vitaly | set | messageid: <1464039375.61.0.406505027082.issue27071@psf.upfronthosting.co.za> |
2016-05-23 21:36:15 | vitaly | link | issue27071 messages |
2016-05-23 21:36:15 | vitaly | create | |
|