File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 99import redis
1010from redis .cache import CacheConfig
1111from redis .connection import CacheProxyConnection , Connection , to_bool
12- from redis .utils import SSL_AVAILABLE
13-
14- from .conftest import _get_client , skip_if_redis_enterprise , skip_if_server_version_lt
12+ from redis .utils import HIREDIS_AVAILABLE , SSL_AVAILABLE
13+
14+ from .conftest import (
15+ _get_client ,
16+ skip_if_redis_enterprise ,
17+ skip_if_resp_version ,
18+ skip_if_server_version_lt ,
19+ )
1520from .test_pubsub import wait_for_message
1621
1722
@@ -197,6 +202,10 @@ def test_repr_contains_db_info_unix(self):
197202 expected = "path=abc,db=0,client_name=test-client"
198203 assert expected in repr (pool )
199204
205+ @pytest .mark .skipif (HIREDIS_AVAILABLE , reason = "PythonParser only" )
206+ @pytest .mark .onlynoncluster
207+ @skip_if_resp_version (2 )
208+ @skip_if_server_version_lt ("7.4.0" )
200209 def test_initialise_pool_with_cache (self , master_host ):
201210 pool = redis .BlockingConnectionPool (
202211 connection_class = Connection ,
You can’t perform that action at this time.
0 commit comments