File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 = "." )
You can’t perform that action at this time.
0 commit comments