Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

Thanks Vegard for the report. The docs say "Child mocks and the return value 
mock (if any) are reset as well." so it makes sense to me to reset the 
return_value and side_effect of children. But as mentioned in the PR it's a 
behaviour change that someone might be dependent on and can go on 3.9 . If we 
are not going ahead with the change then we can clarify the same in the docs 
and ask the user to reset mock recursively on their own so that it avoids 
confusion.

----------
nosy: +cjw296, lisroach, mariocj89, michael.foord
versions: +Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38932>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to