結果 : how to test exception in python