結果 : how to test exceptions python