()
| 52 | |
| 53 | |
| 54 | def test_del() -> None: |
| 55 | cache: LRUCache[Any, Any] = LRUCache(maxsize=2) |
| 56 | cache["x"] = 1 |
| 57 | cache["y"] = 2 |
| 58 | del cache["x"] |
| 59 | assert dict(cache) == {"y": 2} |
| 60 | |
| 61 | |
| 62 | def test_on_evict() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…