Skip to content

Commit

Permalink
fixed a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
andymccurdy committed Feb 19, 2010
1 parent 4496486 commit 735c5de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/server_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def test_zrange(self):
[('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)


Expand All @@ -587,7 +587,7 @@ def test_zrangebyscore(self):
['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):
Expand Down

0 comments on commit 735c5de

Please sign in to comment.