]> granicus.if.org Git - python/commit
unittest.mock: a mock created by patch with a spec as the list argument will be calla...
authorMichael Foord <michael@voidspace.org.uk>
Sun, 25 Mar 2012 18:53:18 +0000 (19:53 +0100)
committerMichael Foord <michael@voidspace.org.uk>
Sun, 25 Mar 2012 18:53:18 +0000 (19:53 +0100)
commite58a562d9395b8a4ed9419b735cad9f78c8ae802
tree120e3cd3e4a8d791a17669c96d28068fcf9bce8c
parent87b3caf873a45fd836982296374f5b4e49dd9e30
unittest.mock: a mock created by patch with a spec as the list argument will be callable if __call__ is in the spec
Lib/unittest/mock.py
Lib/unittest/test/testmock/testpatch.py