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

Function test_SerializableLock_locked

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

lockedMethod · 0.95
SerializableLockClass · 0.90

Tested by

no test coverage detected