Skip to content

Commit 8da08c2

Browse files
committed
mypy: actual type "BaseCache", expected type "RedisCache"
1 parent 2e40dc6 commit 8da08c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import pytest
44
from django.core.cache import cache as default_cache
55

6-
from django_redis.cache import RedisCache
6+
from django_redis.cache import BaseCache
77

88

99
@pytest.fixture
10-
def cache() -> Iterable[RedisCache]:
10+
def cache() -> Iterable[BaseCache]:
1111
yield default_cache
1212
default_cache.clear()

0 commit comments

Comments
 (0)