Skip to content

Commit 053dfe9

Browse files
committed
style: fix ruff-format for CI (match ruff v0.1.8 assert formatting)
1 parent 56365e0 commit 053dfe9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/anoph/test_cache_api.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ def test_clear_cache_all(fixture, api):
9393
info_after = api.cache_info()
9494
for attr_name, entry in info_after.items():
9595
if entry["kind"] == "dict":
96-
assert entry["entries"] == 0, (
97-
f"Cache {attr_name} still has {entry['entries']} entries after clear_cache()"
98-
)
96+
assert (
97+
entry["entries"] == 0
98+
), f"Cache {attr_name} still has {entry['entries']} entries after clear_cache()"
9999

100100

101101
@parametrize_with_cases("fixture,api", cases=".")
@@ -112,9 +112,9 @@ def test_clear_cache_specific_category(fixture, api):
112112
# All "base" category caches should be empty.
113113
for attr_name in AnophelesBase._CACHE_CATEGORIES["base"]:
114114
if attr_name in info and info[attr_name]["kind"] == "dict":
115-
assert info[attr_name]["entries"] == 0, (
116-
f"Cache {attr_name} should be empty after clear_cache('base')"
117-
)
115+
assert (
116+
info[attr_name]["entries"] == 0
117+
), f"Cache {attr_name} should be empty after clear_cache('base')"
118118

119119

120120
@parametrize_with_cases("fixture,api", cases=".")

0 commit comments

Comments
 (0)