Skip to content

use asyncio.new_event_loop in tests for compatibility with Python 3.14#270

Merged
brunns merged 2 commits intohamcrest:mainfrom
MeggyCal:main
Feb 12, 2026
Merged

use asyncio.new_event_loop in tests for compatibility with Python 3.14#270
brunns merged 2 commits intohamcrest:mainfrom
MeggyCal:main

Conversation

@MeggyCal
Copy link
Contributor

@MeggyCal MeggyCal commented Sep 24, 2025

Hotfix to fix tests on Python 3.14. Fixes #265.

@MeggyCal MeggyCal changed the title use asyncio.new_event_loop in tests for compatibility with Python 3.14 (fixes #265) use asyncio.new_event_loop in tests for compatibility with Python 3.14 (fixes https://github.com/hamcrest/PyHamcrest/issues/265) Sep 24, 2025
@MeggyCal MeggyCal changed the title use asyncio.new_event_loop in tests for compatibility with Python 3.14 (fixes https://github.com/hamcrest/PyHamcrest/issues/265) use asyncio.new_event_loop in tests for compatibility with Python 3.14 Sep 24, 2025
@brunns
Copy link
Member

brunns commented Feb 12, 2026

This looks good to me.

@brunns brunns merged commit ab5ceb3 into hamcrest:main Feb 12, 2026
1 check passed
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.

Test failures with Python 3.14.0b1: implicit event loop creation has been removed

2 participants