derwiki-adroll / mock

Automatically exported from code.google.com/p/mock
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Small doc fix: wrap does not ignore return_value #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I think the first mention of return_value in the doc of the 'wrap' parameter of 
Mock is misleading.

Original issue reported on code.google.com by dirk.imp...@gmail.com on 30 Mar 2012 at 12:29

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dirk.imp...@gmail.com on 30 Mar 2012 at 12:45

Attachments:

GoogleCodeExporter commented 9 years ago
I know what you wanted to say, and simply deleting is probably not enough.  
It's just that I had to try it out to see what actually happens.

Maybe "return the result of the wrapped function from the mock"

Original comment by dirk.imp...@gmail.com on 30 Mar 2012 at 12:53

GoogleCodeExporter commented 9 years ago
Thanks for this. 

Original comment by fuzzyman on 4 Apr 2012 at 10:17

GoogleCodeExporter commented 9 years ago

Original comment by fuzzyman on 4 Apr 2012 at 1:44

GoogleCodeExporter commented 9 years ago
Applied to trunk. Many thanks.

Original comment by fuzzyman on 13 Apr 2012 at 7:53