Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:
Thanks @asvetlov for the explanation. I tried the patch and it works fine for my example with no test failures for mock. I will try to make a PR. Only func(*args, **keywargs) needs to be changed and await requires an async function which I seem to need duplicating the function. I will try if I can refactor that. I will post a PR where this can be discussed. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36996> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com