[issue31807] unitest.mock: Using autospec=True conflicts with 'wraps'

2019-09-13 Thread Lukas Anzinger
Lukas Anzinger added the comment: Hi, I just wanted to ask what the status for this bug is. I'm still interested in getting this merged and would be happy to help. Lukas -- ___ Python tracker <https://bugs.python.org/is

[issue31807] unitest.mock: Using autospec=True conflicts with 'wraps'

2017-11-15 Thread Lukas Anzinger
Lukas Anzinger added the comment: I can reproduce the problem and have analyzed it a bit. My use case is a bit different, I want to use autospec=True and wraps= so that I can mock unbound methods but return the result from the original method (see also https://docs.python.org/3/library