Skip to content

Conversation

@nolar
Copy link
Owner

@nolar nolar commented Nov 29, 2025

Pytest-asyncio 1.1.0 brings in the backported asyncio Runner for Python < 3.11. We still support 3.10 until October 2026, so we have to detect and patch that runner in addition to asyncio's own Runner in Python 3.11+.

Otherwise, the tests run in the event loop with no time magic activated (and usually fail).

@nolar nolar added the bug Something isn't working label Nov 29, 2025
@nolar nolar merged commit c82bc4e into main Nov 29, 2025
11 checks passed
@nolar nolar deleted the fix-for-pytest-asyncio branch November 29, 2025 15:06
@github-actions
Copy link

github-actions bot commented Nov 29, 2025

Pull Request Test Coverage Report for Build 19785544054

Details

  • 6 of 11 (54.55%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+2.2%) to 64.805%

Changes Missing Coverage Covered Lines Changed/Added Lines %
looptime/plugin.py 6 11 54.55%
Files with Coverage Reduction New Missed Lines %
looptime/plugin.py 1 69.13%
Totals Coverage Status
Change from base Build 19784546119: 2.2%
Covered Lines: 283
Relevant Lines: 463

💛 - Coveralls

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants