Skip to content

Commit 3b597f0

Browse files
committed
Fix lint and mypy.
1 parent dc91afb commit 3b597f0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/test_backend.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def test_set_call_empty_pipeline(
211211

212212
if isinstance(cache.client, herd.HerdClient):
213213
default_timeout = cache.client._backend.default_timeout
214-
herd_timeout = (default_timeout + settings.CACHE_HERD_TIMEOUT) * 1000 # type: ignore # noqa
214+
herd_timeout = (default_timeout + settings.CACHE_HERD_TIMEOUT) * 1000
215215
herd_pack_value = cache.client._pack(value, default_timeout)
216216
mocked_set.assert_called_once_with(
217217
cache.client.make_key(key, version=None),
@@ -494,10 +494,7 @@ def test_delete_pattern_with_custom_count(self, client_mock, cache: RedisCache):
494494

495495
@patch("django_redis.cache.RedisCache.client")
496496
def test_delete_pattern_with_settings_default_scan_count(
497-
self,
498-
client_mock,
499-
cache: RedisCache,
500-
settings: SettingsWrapper,
497+
self, client_mock, cache: RedisCache, settings: SettingsWrapper,
501498
):
502499
settings.DJANGO_REDIS_SCAN_ITERSIZE = 30
503500

0 commit comments

Comments
 (0)