diff --git a/tests/test_asyncio/conftest.py b/tests/test_asyncio/conftest.py index 52ff26b081..8166588d8e 100644 --- a/tests/test_asyncio/conftest.py +++ b/tests/test_asyncio/conftest.py @@ -45,10 +45,15 @@ async def _get_info(redis_url): (False, PythonParser), pytest.param( (True, HiredisParser), - marks=pytest.mark.skipif( - not HIREDIS_AVAILABLE or 'config.REDIS_INFO["cluster_enabled"]', - reason="hiredis is not installed or cluster mode enabled", - ), + marks=[ + pytest.mark.skipif( + 'config.REDIS_INFO["cluster_enabled"]', + reason="cluster mode enabled", + ), + pytest.mark.skipif( + not HIREDIS_AVAILABLE, reason="hiredis is not installed" + ), + ], ), pytest.param( (False, HiredisParser),