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

Function test_SerializableLock_acquire_blocking

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

acquireMethod · 0.95
releaseMethod · 0.95
SerializableLockClass · 0.90

Tested by

no test coverage detected