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

fix select test

parent 39c8c0f2
...@@ -747,11 +747,11 @@ class Redis(object): ...@@ -747,11 +747,11 @@ class Redis(object):
>>> r = Redis(db=9) >>> r = Redis(db=9)
>>> r.delete('a') >>> r.delete('a')
1 1
>>> r.select(1) >>> r.select(10)
'OK' 'OK'
>>> r.set('a', 1) >>> r.set('a', 1)
'OK' 'OK'
>>> r.select(0) >>> r.select(9)
'OK' 'OK'
>>> r.get('a') >>> r.get('a')
>>> >>>
...@@ -930,4 +930,4 @@ class Redis(object): ...@@ -930,4 +930,4 @@ class Redis(object):
if __name__ == '__main__': if __name__ == '__main__':
import doctest import doctest
doctest.testmod() 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