Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mjpieters
Copy link
Contributor

@mjpieters mjpieters commented Aug 21, 2025

Summary

inpsect.iscoroutinefunction still has issues with mocked coroutines, for example, until Python 3.13.

Resolves #2983

Checklist

  • I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.

inpsect.iscoroutinefunction still has issues with mocked coroutines,
for example, until Python 3.13.
@Kludex Kludex changed the title Use asyncio.iscoroutinefunction for Python 3.12 and older Use asyncio.iscoroutinefunction for Python 3.12 and older Aug 24, 2025
@Kludex
Copy link
Owner

Kludex commented Aug 24, 2025

Thanks @mjpieters 🙏

@Kludex Kludex merged commit 3d7430a into Kludex:master Aug 24, 2025
7 checks passed
@mjpieters mjpieters deleted the fix_autospecced_async_mock branch August 26, 2025 15:51
Sign up for free to 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.

2 participants