Kushal Das added the comment: A patch without NEWS and whatsnew update. I will fill them before commit.
The reset_mock function now has two parameters, return_value, and side_effect. Passing True value to any of these will reset that attribute. ---------- keywords: +patch Added file: http://bugs.python.org/file38987/issue21271.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21271> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com