summaryrefslogtreecommitdiff
path: root/tests/server_commands.py
diff options
context:
space:
mode:
authorandymccurdy <andy@andymccurdy.com>2010-02-19 00:26:07 -0800
committerandymccurdy <andy@andymccurdy.com>2010-02-19 00:26:07 -0800
commit735c5de828cdcd0f6c6018bac9b262fd7e2c5a38 (patch)
treefd2f8d5158fe2c430fadf6d8c7371102739ed23d /tests/server_commands.py
parent4496486b92f6a0eeceae6980d8083a4436ba2d4c (diff)
downloadredis-py-735c5de828cdcd0f6c6018bac9b262fd7e2c5a38.tar.gz
fixed a comment
Diffstat (limited to 'tests/server_commands.py')
-rw-r--r--tests/server_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server_commands.py b/tests/server_commands.py
index ecd8823..2d9c707 100644
--- a/tests/server_commands.py
+++ b/tests/server_commands.py
@@ -569,7 +569,7 @@ class ServerCommandsTestCase(unittest.TestCase):
[('a1', 1.0), ('a2', 2.0)])
self.assertEquals(self.client.zrange('a', 1, 2, withscores=True),
[('a2', 2.0), ('a3', 3.0)])
- # a non existant key should return an empty list
+ # a non existant key should return None
self.assertEquals(self.client.zrange('b', 0, 1, withscores=True), None)
@@ -587,7 +587,7 @@ class ServerCommandsTestCase(unittest.TestCase):
['a3', 'a4'])
self.assertEquals(self.client.zrangebyscore('a', 2, 4, withscores=True),
[('a2', 2.0), ('a3', 3.0), ('a4', 4.0)])
- # a non existant key should return an empty list
+ # a non existant key should return None
self.assertEquals(self.client.zrangebyscore('b', 0, 1, withscores=True), None)
def test_zrem(self):