We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce6a2c7 commit 1a8b887Copy full SHA for 1a8b887
pytest_asyncio/plugin.py
@@ -218,14 +218,14 @@ async def advance_time(self, seconds):
218
self._offset += seconds
219
220
# ensure waiting callbacks are run before advancing the clock
221
- await asyncio.sleep(0)
+ await asyncio.sleep(0, loop=self)
222
223
if seconds > 0:
224
# Once the clock is adjusted, new tasks may have just been scheduled for running
225
# in the next pass through the event loop and advance again for the task
226
# that calls `advance_time`
227
228
229
230
231
# maps marker to the name of the event loop fixture that will be available
0 commit comments