Hi, I couldn't quite figure out how to un-spy a spied method yet. I'm not sure if it's even possible after browsing through the source code.
spy_foo = mocker.spy(module, "foo")
# do something
# how to un-spy `spy_foo`?
Any ideas or suggestions on how to achieve it? 🙏
Hi, I couldn't quite figure out how to un-spy a spied method yet. I'm not sure if it's even possible after browsing through the source code.
Any ideas or suggestions on how to achieve it? 🙏