From 491d908b0a9a08c571ce7bdf30371749d16b84b7 Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Thu, 2 Apr 2009 17:34:42 +0200 Subject: [PATCH] fix select test --- client-libraries/python/redis.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client-libraries/python/redis.py b/client-libraries/python/redis.py index ec480b3f..ed734723 100644 --- a/client-libraries/python/redis.py +++ b/client-libraries/python/redis.py @@ -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 + -- 2.45.2