MCPcopy Create free account
hub / github.com/tox-dev/filelock / DerivedReadWriteLock

Class DerivedReadWriteLock

tests/test_read_write_fork.py:82–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81def test_read_write_lock_subclass_has_independent_singletons(tmp_path: Path) -> None:
82 class DerivedReadWriteLock(ReadWriteLock):
83 pass
84
85 lock_path = tmp_path / "subclass.db"
86 base_lock = ReadWriteLock(lock_path)

Calls

no outgoing calls