Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
491d908b
Commit
491d908b
authored
Apr 02, 2009
by
Ludovico Magnocavallo
Browse files
fix select test
parent
39c8c0f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
client-libraries/python/redis.py
View file @
491d908b
...
...
@@ -747,11 +747,11 @@ class Redis(object):
>>> r = Redis(db=9)
>>> r.delete('a')
1
>>> r.select(1)
>>> r.select(1
0
)
'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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment