We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7d4336 commit e5df832Copy full SHA for e5df832
tests/test_asyncio/conftest.py
@@ -45,10 +45,15 @@ async def _get_info(redis_url):
45
(False, PythonParser),
46
pytest.param(
47
(True, HiredisParser),
48
- marks=pytest.mark.skipif(
49
- not HIREDIS_AVAILABLE or 'config.REDIS_INFO["cluster_enabled"]',
50
- reason="hiredis is not installed or cluster mode enabled",
51
- ),
+ marks=[
+ pytest.mark.skipif(
+ 'config.REDIS_INFO["cluster_enabled"]',
+ reason="cluster mode enabled",
52
+ ),
53
54
+ not HIREDIS_AVAILABLE, reason="hiredis is not installed"
55
56
+ ],
57
),
58
59
(False, HiredisParser),
0 commit comments