Skip to content

Commit

Permalink
More hiredis-py tests to ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
gerzse committed Jun 11, 2024
1 parent 3b7f6bf commit a86b72e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
parse_info,
)
from redis.client import EMPTY_RESPONSE, NEVER_DECODE
from redis.utils import HIREDIS_AVAILABLE

from .conftest import (
_get_client,
Expand Down Expand Up @@ -5002,6 +5003,9 @@ def test_command_getkeys(self, r):
r, res, ["key1", "key2", "key3"], [b"key1", b"key2", b"key3"]
)

# The response to COMMAND contains maps inside sets, which are not handled
# by the hiredis-py parser (see https://github.com/redis/hiredis-py/issues/188)
@pytest.mark.skipif(HIREDIS_AVAILABLE, reason="PythonParser only")
@skip_if_server_version_lt("2.8.13")
def test_command(self, r):
res = r.command()
Expand Down

0 comments on commit a86b72e

Please sign in to comment.