Skip to content

Commit e5df832

Browse files
Split incorrect mark into two separate marks (#2253)
1 parent d7d4336 commit e5df832

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

tests/test_asyncio/conftest.py

+9-4
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,15 @@ async def _get_info(redis_url):
4545
(False, PythonParser),
4646
pytest.param(
4747
(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-
),
48+
marks=[
49+
pytest.mark.skipif(
50+
'config.REDIS_INFO["cluster_enabled"]',
51+
reason="cluster mode enabled",
52+
),
53+
pytest.mark.skipif(
54+
not HIREDIS_AVAILABLE, reason="hiredis is not installed"
55+
),
56+
],
5257
),
5358
pytest.param(
5459
(False, HiredisParser),

0 commit comments

Comments
 (0)