Skip to content

gh-94924: support inspect.iscoroutinefunction in create_autospec(async_def) - #94962

Merged
cjw296 merged 6 commits into
python:mainfrom
graingert:mock-create-autospec-async-def
Jun 9, 2023
Merged

gh-94924: support inspect.iscoroutinefunction in create_autospec(async_def)#94962
cjw296 merged 6 commits into
python:mainfrom
graingert:mock-create-autospec-async-def

Conversation

@graingert

@graingertgraingert commented Jul 18, 2022

Copy link
Copy Markdown
Contributor

@graingert

Copy link
Copy Markdown
ContributorAuthor

see also #84753

@graingert
graingertforce-pushed the mock-create-autospec-async-def branch from cd43e01 to e0424d2CompareJuly 18, 2022 14:28
Comment threadLib/unittest/mock.py Outdated
Comment threadLib/unittest/mock.py
Comment threadLib/unittest/mock.py
@hugovk

Copy link
Copy Markdown
Member

@cjw296 Should this be backported to 3.12 and 3.11, or can the issue be closed?

@graingert
graingert deleted the mock-create-autospec-async-def branch March 15, 2024 17:15
@cjw296

Copy link
Copy Markdown
Contributor

I think the issue can be closed, if folks need this in 3.12 or 3.11 they can comment here and I'll crank the handle to get it into the backport release on pypi.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@graingert@hugovk@cjw296@bedevere-bot