示例#1
0
 def test_assert_in(self):
     with assert_raises(AssertionError):
         assert_in('a', [1, 2, 3])
示例#2
0
 def test_assert_in(self):
     assert_in(2, [1, 2, 3])
     assert_in('b', 'abc')