我唯一可以修改的是test_func2()。 我有一个如下设置(最小例子): from othermodule import function_to_be_mocked import pytest import mock def ...
確定! 回上一頁