New submission from Michael Foord: unittest.mock.Mock.reset_mock deliberately doesn't reset the return_value and side_effect. It would be nice if it gained parameters so that it *could*.
---------- assignee: michael.foord components: Library (Lib) messages: 216588 nosy: kushal.das, michael.foord priority: normal severity: normal stage: needs patch status: open title: reset_mock needs parameters to also reset return_value and side_effect type: behavior versions: Python 3.5 _______________________________________ 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