From a4e34d6e1b9905736acd5d13ea03d7e32f3e3f0e Mon Sep 17 00:00:00 2001 From: yassin Date: Mon, 14 Sep 2026 20:05:14 +0000 Subject: [PATCH] test(caching): wrap the DualCache fixture line to the 120 character limit Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- tests/test_litellm/caching/test_dual_cache.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_litellm/caching/test_dual_cache.py b/tests/test_litellm/caching/test_dual_cache.py index 6f29be00b30..95395878c25 100644 --- a/tests/test_litellm/caching/test_dual_cache.py +++ b/tests/test_litellm/caching/test_dual_cache.py @@ -726,7 +726,10 @@ async def test_redis_timeouts_falling_back_to_memory_log_once_per_interval(caplo async def async_increment(self, key, value, **kwargs): raise RedisTimeoutError("Timeout reading from 127.0.0.1:6379") - cache = DualCache(in_memory_cache=InMemoryCache(), redis_cache=_TimingOutRedis()) # pyright: ignore[reportArgumentType] # duck-typed Redis double + cache = DualCache( + in_memory_cache=InMemoryCache(), + redis_cache=_TimingOutRedis(), # pyright: ignore[reportArgumentType] # duck-typed Redis double + ) increments = [RedisPipelineIncrementOperation(key="k", increment_value=1.0, ttl=60)] with caplog.at_level(logging.DEBUG, logger="LiteLLM"):