assertIn (4, [1, 2, 3]) def testSet(self): self.assertIn(4, set([1, 2, 3])) Any object that supports the in operator or the container API can be used with ...
確定! 回上一頁