When other.func() is called in the assert statement, MyException is raised (can be checked easily). So, the assertRaises test should pass the test, ...
確定! 回上一頁