We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3685a39 commit 73a2466Copy full SHA for 73a2466
1 file changed
python2/koans/about_asserts.py
@@ -77,3 +77,13 @@ def test_that_sometimes_we_need_to_know_the_class_type(self):
77
# Need an illustration? More reading can be found here:
78
#
79
# http://bit.ly/__class__
80
+
81
+ def test_assert_in(self):
82
+ """
83
+ Sometimes we want to assert if a container contains a value
84
85
+ # fill in the blank
86
+ looking_for = ___
87
+ inside = ['important', 'not']
88
89
+ self.assertIn(looking_for, inside)
0 commit comments