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