[TIP] removing attributes and dictionary keys using mock.patch

Chris Withers chris at simplistix.co.uk
Sat Dec 6 03:44:53 PST 2014

On 05/12/2014 18:34, Chris Withers wrote:
>> On 5 Dec 2014, at 18:19, Michael Foord <michael at voidspace.org.uk> wrote:
>> I don't have any objection if the api can be clean and the implementation isn't horrible.
> Do you have a preference for a marker object (like testfixtures uses) or a keyword param (such as delete=True)?
> A whole separate set of decorators/context managers/etc seems like overkill, so I hope that's not your preference ;-)

Couple of process questions:

- Is https://code.google.com/p/mock/ the right repo to develop against?

- What's mock's release cycle?

- How go changes to Mock make their way into the Mock included in Python 3?



More information about the testing-in-python mailing list