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

Function test_SerializableLock_locked

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

lockedMethod · 0.95
SerializableLockClass · 0.90

Tested by

no test coverage detected