commit | 436c2b0d67da68465e709a96daac7340af3a5238 | [log] [tgz] |
---|---|---|
author | Xtreak <tir.karthi@gmail.com> | Tue May 28 12:37:39 2019 +0530 |
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Tue May 28 00:07:38 2019 -0700 |
tree | 771d8d39bd772a7aa72640670e247b7e5bb14f6b | |
parent | 71dc7c5fbd856df83202f39c1f41ccd07c6eceb7 [diff] |
bpo-36996: Handle async functions when mock.patch is used as a decorator (GH-13562) Return a coroutine while patching async functions with a decorator. Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> https://bugs.python.org/issue36996