Title: gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock by sileht · Pull Request #94050 · python/cpython · GitHub
Open Graph Title: gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock by sileht · Pull Request #94050 · python/cpython
X Title: gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock by sileht · Pull Request #94050 · python/cpython
Description: The inspect version was not working with unittest.mock.AsyncMock. This change moves the asyncio fix for AsyncMock in inspect module and make asyncio.iscoroutinefunction an alias of inspect.iscoroutinefunction. Issue: gh-84753
Open Graph Description: The inspect version was not working with unittest.mock.AsyncMock. This change moves the asyncio fix for AsyncMock in inspect module and make asyncio.iscoroutinefunction an alias of inspect.iscorout...
X Description: The inspect version was not working with unittest.mock.AsyncMock. This change moves the asyncio fix for AsyncMock in inspect module and make asyncio.iscoroutinefunction an alias of inspect.iscorout...
Opengraph URL: https://github.com/python/cpython/pull/94050
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:cdf33b0f-0942-f262-d1be-0826e6bf0eec |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 85FC:26A5A1:E2640:134B3B:6969CC8C |
| html-safe-nonce | 0f282e597c01abb5d59baabb727fc0fa4679a008536ae1d73e36d111ff48f89a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUZDOjI2QTVBMTpFMjY0MDoxMzRCM0I6Njk2OUNDOEMiLCJ2aXNpdG9yX2lkIjoiNzA1Mjk3NDk4NDkxMjI5MzAwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e9853d321fc9028b1894fd32a2ad423cf61b61406aa72ba41dbe6304fe9b989a |
| hovercard-subject-tag | pull_request:973334523 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/94050/checks |
| twitter:image | https://avatars.githubusercontent.com/u/200878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/200878?s=400&v=4 |
| og:image:alt | The inspect version was not working with unittest.mock.AsyncMock. This change moves the asyncio fix for AsyncMock in inspect module and make asyncio.iscoroutinefunction an alias of inspect.iscorout... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width