例: assertIn(“2” in “23”) 成功. assertIn(“1” in “23”) 失败. self.assertNotIn(a,b) 判断a in b是否成立,不成立则True 否则False.
確定! 回上一頁