If I'm using pytest for that, I need to patch it as test_function.square . In lines 18-19, I patch the square and cube functions in their module ...
確定! 回上一頁