Exemple #1
0
 def test_assert_sorted_equal(self):
     with assert_raises(AssertionError):
         assert_sorted_equal([1, 2, 3], [3, 2, 3])
Exemple #2
0
 def test_assert_sorted_equal(self):
     s1 = set(['a', 'b', 'c'])
     s2 = set(['b', 'c', 'a'])
     assert_sorted_equal(s1, s2)