assertRaises (ValueError, calc.divide, 10, 0) with self. ... 不需要自己刪除物件就是了),其他用法像是在setUp()登入資料庫,在tearDown()登出。
確定! 回上一頁