Apply suggestion from @Kludex

This commit is contained in:
Marcelo Trylesinski 2026-02-15 22:43:41 +01:00 committed by GitHub
parent 3e1224cbe3
commit ecedca1011
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -226,7 +226,7 @@ class MockLoop:
self._tasks: list[asyncio.Task[Any]] = []
self._later: list[MockTimerHandle] = []
def create_task(self, coroutine: Any, **kwargs: Any) -> Any:
def create_task(self, coroutine: Any) -> Any:
self._tasks.insert(0, coroutine)
return MockTask()