Message170690
I actually agree with Julian here. I much prefer patch.object and do my best to avoid mock.patch. support.patch is also equivalent to patch.object and not patch. That doesn't change the fact that other people prefer mock.patch, of course.
I think mock.patch is too "magical" for my taste. There is something I don't like about the dynamic import, even though I can't really tell you what it is :) |
|
Date |
User |
Action |
Args |
2012-09-19 00:33:12 | r.david.murray | set | recipients:
+ r.david.murray, brett.cannon, ezio.melotti, eric.araujo, michael.foord, pablomouzo, daniel.urban, chris.jerdonek, Julian |
2012-09-19 00:33:12 | r.david.murray | set | messageid: <1348014792.26.0.817044157633.issue11664@psf.upfronthosting.co.za> |
2012-09-19 00:33:11 | r.david.murray | link | issue11664 messages |
2012-09-19 00:33:11 | r.david.murray | create | |
|