Why does mock.patch('some.import.path') exhibit inconsistent behavior with relative vs. absolute imports?

后端 未结 0 902
旧巷少年郎
旧巷少年郎 2021-02-10 10:02

Does anyone have any idea why mocker.patch(\'some.relative.import\') works when mocker.patch(\'some.absolute.import\') doesn\'t, but only in some scena

相关标签:
回答
  • 消灭零回复
提交回复
热议问题