A.assertTrue()B.assertFalse()C.assertRaises()D.assertIs()
A.pytest.raises()B.pytest.assert_called()C.pytest.assert_raises()D.pytest.expect_exception()
A.使用test 裝飾器B.使用pytest.mark.test 標(biāo)記C.使用def test_開(kāi)頭的函數(shù)名D.使用def test()的函數(shù)名