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

Function test_SerializableLock_locked

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

Source from the content-addressed store, hash-verified

408
409
410def test_SerializableLock_locked():
411 a = SerializableLock("a")
412 assert not a.locked()
413 with a:
414 assert a.locked()
415 assert not a.locked()
416
417
418def test_SerializableLock_acquire_blocking():

Callers

nothing calls this directly

Calls 2

lockedMethod · 0.95
SerializableLockClass · 0.90

Tested by

no test coverage detected