]> granicus.if.org Git - python/commit
Issue #17015: When it has a spec, a Mock object now inspects its signature when match...
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 2 Feb 2013 23:23:58 +0000 (00:23 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 2 Feb 2013 23:23:58 +0000 (00:23 +0100)
commit5c64df70b5b5cf8df2a651dc6630ab28e30499b8
tree8bdb8add55c63239f018a0cc2195c8b619bf0a76
parent18b30ee88e47ef85ccc966a178bfd8f64a7f0954
Issue #17015: When it has a spec, a Mock object now inspects its signature when matching calls, so that arguments can be matched positionally or by name.
Doc/library/unittest.mock-examples.rst
Doc/library/unittest.mock.rst
Lib/unittest/mock.py
Lib/unittest/test/testmock/testhelpers.py
Lib/unittest/test/testmock/testmock.py
Misc/NEWS