MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / event_loop

Function event_loop

methods/MIRIX/tests/test_queue.py:47–51  ·  view source on GitHub ↗

Single event loop for the module so DB managers and tests share one loop.

()

Source from the content-addressed store, hash-verified

45
46@pytest_asyncio.fixture
47def event_loop():
48 """Single event loop for the module so DB managers and tests share one loop."""
49 loop = asyncio.new_event_loop()
50 yield loop
51 loop.close()
52
53
54@pytest_asyncio.fixture(scope="module", autouse=True)

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected