summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2018-11-07 23:49:40 -0800
committerAndy McCurdy <andy@andymccurdy.com>2018-11-07 23:49:40 -0800
commitacd632c51e8fabd6b47605e0d9b1506d4eb5c694 (patch)
treec2d3e0feb32e7afe9173c3454943ad8b19d0a363
parent075f330bda5657d595bace975c5af51fbf66d371 (diff)
downloadredis-py-bitfield.tar.gz
fix stupid linter warningbitfield
-rw-r--r--tests/test_commands.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py
index 00472fd..15e7620 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -2121,15 +2121,15 @@ class TestRedisCommands(object):
resp = (bf
.set('u8', 8, 255) # 00000000 11111111
.get('u8', 0) # 00000000
- .get('u4', 8) # 1111
- .get('u4', 12) # 1111
- .get('u4', 13) # 111 0
+ .get('u4', 8) # 1111
+ .get('u4', 12) # 1111
+ .get('u4', 13) # 111 0
.execute())
assert resp == [0, 0, 15, 15, 14]
# .set() returns the previous value...
resp = (bf
- .set('u8', 4, 1) # 0000 0001
+ .set('u8', 4, 1) # 0000 0001
.get('u16', 0) # 00000000 00011111
.set('u16', 0, 0) # 00000000 00000000
.execute())