MCPcopy Create free account
hub / github.com/tox-dev/filelock / schedule

Function schedule

tests/async_lock/test_finalization.py:240–241  ·  view source on GitHub ↗
(mocker: MockerFixture)

Source from the content-addressed store, hash-verified

238
239@pytest_asyncio.fixture(loop_scope="function")
240async def schedule(mocker: MockerFixture) -> MockType: # ruff:ignore[unused-async] # runs on the test's loop
241 return mocker.spy(asyncio.get_running_loop(), "create_task")
242
243
244@NEEDS_PROMPT_FINALIZATION

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected