Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:
Thanks @mariocj89 for the explanation. I just got to the docs part about side_effect and return_value precedence. I am curious to know about the behavior as well and at least this can be added as a test as I see only around 3 tests for side_effect and there is no test for wraps behavior in this report I assume given that there were no test failures due to changing the logic. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35330> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com