Skip to content

Commit de8dc1d

Browse files
committed
Add missing changelog for reset_mock kwargs in v3.9
Changed by aef7dc8
1 parent 1424336 commit de8dc1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/library/unittest.mock.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,9 @@ the *new_callable* argument to :func:`patch`.
408408
.. versionchanged:: 3.6
409409
Added two keyword only argument to the reset_mock function.
410410

411+
.. versionchanged:: 3.9
412+
:attr:`return_value` and :attr:`side_effect` apply to child mocks too.
413+
411414
This can be useful where you want to make a series of assertions that
412415
reuse the same object. Note that :meth:`reset_mock` *doesn't* clear the
413416
return value, :attr:`side_effect` or any child attributes you have

0 commit comments

Comments
 (0)