Skip to content

Commit

Permalink
Fix flaky lru_cache test (#101252)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p authored Oct 2, 2023
1 parent 4ee6f6c commit 100b6fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/helpers/test_entity_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
def test_override_single_value() -> None:
"""Test values with exact match."""
store = EV({ent: {"key": "value"}})
store.get.cache_clear()
assert store.get(ent) == {"key": "value"}
assert store.get.cache_info().currsize == 1
assert store.get.cache_info().misses == 1
Expand Down

0 comments on commit 100b6fd

Please sign in to comment.