]> git.saurik.com Git - redis.git/commitdiff
fix select test
authorLudovico Magnocavallo <ludo@ankh.qix.it>
Thu, 2 Apr 2009 15:34:42 +0000 (17:34 +0200)
committerLudovico Magnocavallo <ludo@ankh.qix.it>
Thu, 2 Apr 2009 15:34:42 +0000 (17:34 +0200)
client-libraries/python/redis.py

index ec480b3f6aa3c70e0def2a6c1556a669c0e8571a..ed73472365aa56e043e453b8b1d42b36f13e6bea 100644 (file)
@@ -747,11 +747,11 @@ class Redis(object):
         >>> r = Redis(db=9)
         >>> r.delete('a')
         1
-        >>> r.select(1)
+        >>> r.select(10)
         'OK'
         >>> r.set('a', 1)
         'OK'
-        >>> r.select(0)
+        >>> r.select(9)
         'OK'
         >>> r.get('a')
         >>> 
@@ -930,4 +930,4 @@ class Redis(object):
 if __name__ == '__main__':
     import doctest
     doctest.testmod()
-    
\ No newline at end of file
+