Python mock.patch.object with functool.partial bound arguments possible?
Python mock.patch.object with functool.partial bound arguments possible? Question: How to solve this? Patch a objects method with another signature (eg. an additional argument. I’ve tried to bound the optional argument, but this does not seem to work. I can not use plain monkey patching here, since the the patched class is called under in a …