While the accepted answer is correct, I think there is a better use to assert_raises method. If you simply want to assert that an exception ...
確定! 回上一頁