MCPcopy Create free account
hub / github.com/dask/dask / test_SerializableLock_acquire_blocking

Function test_SerializableLock_acquire_blocking

dask/tests/test_utils.py:421–425  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

419
420
421def test_SerializableLock_acquire_blocking():
422 a = SerializableLock("a")
423 assert a.acquire(blocking=True)
424 assert not a.acquire(blocking=False)
425 a.release()
426
427
428def test_funcname():

Callers

nothing calls this directly

Calls 3

acquireMethod · 0.95
releaseMethod · 0.95
SerializableLockClass · 0.90

Tested by

no test coverage detected