Exemple #1
0
 def test_assert_is_not(self):
     with assert_raises(AssertionError):
         assert_is_not(True, True)
Exemple #2
0
    def test_assert_is_not(self):
        assert_is_not(assert_is, assert_is_not)
        assert_is_not('abc', list('abc'))

        l = [1, 2, 3]
        assert_is_not(l, l[:])