summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2020-03-03 12:44:39 -0800
committerAndy McCurdy <andy@andymccurdy.com>2020-03-03 12:44:39 -0800
commit81f9cbe1f0ea1d3d064fe77d9037a430120dc3cf (patch)
tree023e039c9593f2f34d4c4d0a25a9e16dd6b4ac94
parente57daf554d6a4a66373de6605d13fb7a185852e9 (diff)
downloadredis-py-81f9cbe1f0ea1d3d064fe77d9037a430120dc3cf.tar.gz
mark test_spop_multi_value as needing server 3.2.0 or greater
fixes #1298
-rw-r--r--tests/test_commands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py
index fc85b5f..3742edf 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -1196,6 +1196,7 @@ class TestRedisCommands(object):
assert value in s
assert r.smembers('a') == set(s) - {value}
+ @skip_if_server_version_lt('3.2.0')
def test_spop_multi_value(self, r):
s = [b'1', b'2', b'3']
r.sadd('a', *s)