This commit is contained in:
firestar5683
2026-08-02 12:20:20 -05:00
parent 6d4089feb7
commit d89371c518
206 changed files with 5069 additions and 1790 deletions
+2 -2
View File
@@ -92,8 +92,8 @@ class TestUIParamCache(unittest.TestCase):
lambda cache: cache.put_nonblocking("enabled", True),
lambda cache: cache.put_bool_nonblocking("enabled", True),
)
for operation in operations:
with self.subTest(operation=operation):
for operation_index, operation in enumerate(operations):
with self.subTest(operation_index=operation_index):
params = FakeParams()
cached = UIParamCache(params, ttl=10.0)
self.assertFalse(cached.get_bool("enabled"))