summaryrefslogtreecommitdiff
path: root/redis/commands/cluster.py
diff options
context:
space:
mode:
authorKristján Valur Jónsson <sweskman@gmail.com>2022-06-27 09:11:13 +0000
committerGitHub <noreply@github.com>2022-06-27 12:11:13 +0300
commit8b18d5b2b63ebf218a1f116367a1a09c3d402192 (patch)
tree6409d4ed971b431a73ca3efe4c10104177af577d /redis/commands/cluster.py
parent63cf7ec5cbaca533b7607196dbf993917a65c0f9 (diff)
downloadredis-py-8b18d5b2b63ebf218a1f116367a1a09c3d402192.tar.gz
late eval of the skip condition (#2248)
* late eval of the skip condition at module import time, the REDIS_INFO dict hasn't been initialized. * Store REDIS_INFO in config object, where it is available from condition strings * Fix comparson of time You can't test rounded values for equalness, since they may fall each on a different side of 0.5. It is better to test their absolute difference for a certain tolerance, in this case 1.0 which is the intent of the original round.
Diffstat (limited to 'redis/commands/cluster.py')
0 files changed, 0 insertions, 0 deletions