Re: [Python-Dev] [Python-checkins] cpython: PEP 417: Adding unittest.mock

2012-03-14 Thread Terry Reedy
On 3/14/2012 3:25 PM, michael.foord wrote: +# mock.py +# Test tools for mocking and patching. Should there be a note here about restrictions on editing this file? I notice that there are things like +class OldStyleClass: +pass +ClassType = type(OldStyleClass) which are only present

Re: [Python-Dev] [Python-checkins] cpython: PEP 417: Adding unittest.mock

2012-03-14 Thread Michael Foord
On 14 Mar 2012, at 13:08, Terry Reedy wrote: On 3/14/2012 3:25 PM, michael.foord wrote: +# mock.py +# Test tools for mocking and patching. Should there be a note here about restrictions on editing this file? I notice that there are things like +class OldStyleClass: +pass

Re: [Python-Dev] [Python-checkins] cpython: PEP 417: Adding unittest.mock

2012-03-14 Thread Terry Reedy
On 3/14/2012 4:22 PM, Michael Foord wrote: On 14 Mar 2012, at 13:08, Terry Reedy wrote: On 3/14/2012 3:25 PM, michael.foord wrote: +# mock.py +# Test tools for mocking and patching. Should there be a note here about restrictions on editing this file? I notice that there are things like

Re: [Python-Dev] [Python-checkins] cpython: PEP 417: Adding unittest.mock

2012-03-14 Thread Michael Foord
On 14 Mar 2012, at 13:46, Terry Reedy wrote: On 3/14/2012 4:22 PM, Michael Foord wrote: On 14 Mar 2012, at 13:08, Terry Reedy wrote: On 3/14/2012 3:25 PM, michael.foord wrote: +# mock.py +# Test tools for mocking and patching. Should there be a note here about restrictions on editing

Re: [Python-Dev] [Python-checkins] cpython: PEP 417: Adding unittest.mock

2012-03-14 Thread Kristján Valur Jónsson
: [Python-Dev] [Python-checkins] cpython: PEP 417: Adding unittest.mock On 14 Mar 2012, at 13:46, Terry Reedy wrote: On 3/14/2012 4:22 PM, Michael Foord wrote: On 14 Mar 2012, at 13:08, Terry Reedy wrote: On 3/14/2012 3:25 PM, michael.foord wrote: +# mock.py +# Test tools for mocking