結果 : how to throw an assertion error in python