]> granicus.if.org Git - python/commit
Issue #21271: Adds new keyword only parameters in reset_mock call
authorKushal Das <kushaldas@gmail.com>
Thu, 2 Jun 2016 17:20:16 +0000 (10:20 -0700)
committerKushal Das <kushaldas@gmail.com>
Thu, 2 Jun 2016 17:20:16 +0000 (10:20 -0700)
commit9cd39a170b4e65bd17ba853e87134000523c055a
tree1cee2737612f86431f0ccbe918c5e5468bc1521e
parente2e71685f34b7252f0832d3b1247685e63b5acf8
Issue #21271: Adds new keyword only parameters in reset_mock call

We now have two keyword only parameters in the reset_mock function to
selectively reset the return_value or the side_effects, or both.
Doc/library/unittest.mock.rst
Lib/unittest/mock.py
Lib/unittest/test/testmock/testmock.py
Misc/NEWS