mock.patch() doesn't work with decorator but does with context manager

后端 未结 0 1448
误落风尘
误落风尘 2021-01-15 01:45

I experience a very odd behavior in several examples: mock.patch() doesn\'t work with decorator but does with context manager, even though I\'m using the same c

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