Commit 491d908b authored by Ludovico Magnocavallo's avatar Ludovico Magnocavallo
Browse files

fix select test

parent 39c8c0f2
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment