Skip to content

Commit 7d94f14

Browse files
committed
add asyncio_clock mark so that coroutines can be run in a ClockEventLoop explicitly
1 parent 6fbeb60 commit 7d94f14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytest_asyncio/plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ async def advance_time(self, seconds):
196196
# to marked test functions
197197
_markers_2_fixtures = {
198198
'asyncio': 'event_loop',
199+
'asyncio_clock': 'clock_event_loop',
199200
}
200201

201202

0 commit comments

Comments
 (0)