MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / prime

Method prime

test/base/test_concurrency.py:234–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

232 q = queue.AsyncAdaptedQueue()
233
234 def prime():
235 with expect_raises(queue.Empty):
236 q.get(timeout=0.1)
237
238 await greenlet_spawn(prime)
239 q.put_nowait(1)

Callers

nothing calls this directly

Calls 2

expect_raisesFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected