forked from uburuntu/throttler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decorate async tests with
@pytest.mark.asyncio
Without this, many tests fail in Python 3.14.0a2 because `asyncio.get_event_loop()` no longer automatically starts an event loop, instead raising a `RuntimeError` if there is no current event loop. See https://docs.python.org/dev/library/asyncio-eventloop.html#asyncio.get_event_loop, https://docs.python.org/dev/whatsnew/3.14.html#id3, and python/cpython#126353.
- Loading branch information
1 parent
658e71c
commit 76c9481
Showing
3 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters