[issue33120] infinite loop in inspect.unwrap(unittest.mock.call)
Peter
report at bugs.python.org
Thu Mar 22 12:15:31 EDT 2018
Peter <poslano at gmail.com> added the comment:
I see two options to fix it:
1) add recursion depth check to inspect.wrap
2) define __wrapped__ on mock._Call so it won't go into recursion.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33120>
_______________________________________
More information about the Python-bugs-list
mailing list