(cache_path)
| 40 | |
| 41 | @pytest.fixture |
| 42 | def cache(cache_path): |
| 43 | c = MmapCache(cache_path, size=_SIZE, slot_size=_SLOT_SIZE, key_size=_KEY_SIZE) |
| 44 | yield c |
| 45 | c.close() |
| 46 | |
| 47 | |
| 48 | # --------------------------------------------------------------------------- |