Python promises.promise函數代碼示例,vine.promises.promise用法. ... exc = KeyError() a.fun.side_effect = exc p(42) a_on_error.fun.assert_called_with(exc).
確定! 回上一頁