結果 : how to assert error in python