1.1 --- a/tests/list.py Tue Nov 29 17:27:31 2016 +0100
1.2 +++ b/tests/list.py Tue Nov 29 17:29:42 2016 +0100
1.3 @@ -24,3 +24,12 @@
1.4 print l[-5] # should raise an exception
1.5 except IndexError, exc:
1.6 print "l[-5]: failed with argument", exc.index
1.7 +
1.8 +print 1 in l # True
1.9 +print 4 in l # False
1.10 +print "four" in l # True
1.11 +print "one" in l # False
1.12 +print 1 not in l # False
1.13 +print 4 not in l # True
1.14 +print "four" not in l # False
1.15 +print "one" not in l # True