Skip to content

Commit

Permalink
Split incorrect mark into two separate marks (#2253)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristjanvalur authored Jun 27, 2022
1 parent d7d4336 commit e5df832
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tests/test_asyncio/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit e5df832

Please sign in to comment.