def test_contains(self):
        u = self.type2test([0, 1, 2])
        for i in u:
            self.assertIn(i, u)
        for i in min(u)-1, max(u)+1:
            self.assertNotIn(i, u)

        self.assertRaises(TypeError, u.__contains__)
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/seq_tests.py/CommonTest.test_contains/original