結果 : python patch class method return value