assertIn (a, b). assertNotIn(a, b). 这些方法的作用从方法名称上基本可以得知。 假设我们把上面的测试代码保存到test_sayhello.py 文件中,通过执行 python ...
確定! 回上一頁