[TIP] failing tests after upgrading Mock 0.7 to 0.8
Ned Batchelder
ned at nedbatchelder.com
Tue Nov 20 14:57:33 PST 2012
On 11/20/2012 5:46 PM, Ned Batchelder wrote:
> Mock 0.7.2 must not have had any attributes initialized in its
> constructor. Now in 0.8 it does.
I should have known that Mock would actually be far more complex than
this. The point stands: just because you didn't used to need to
initialize a parent, doesn't mean you shouldn't do it.
--Ned.
More information about the testing-in-python
mailing list