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