Пример #1
0
 def test_assert_sets_equal(self):
     with assert_raises(AssertionError):
         assert_sets_equal(set([1, 2, 3]), set([1, 'b', 'c']))
Пример #2
0
 def test_assert_sets_equal(self):
     s1 = set(['a', 'b', 'c', 1, 2, 3])
     s2 = set([1, 'a', 3, 'b', 'c', 2])
     assert_sets_equal(s1, s2)