Skip to content

Commit 619b55b

Browse files
committed
Merge pull request #421 from charsyam/feature/upgrade-redis-lib
upgrade redis-py version from 2.9.0 to 2.10.3
2 parents 592c1b6 + 7c5d76a commit 619b55b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tests/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ usage
1010
1. install dependency::
1111

1212
pip install nose
13-
pip install git+https://github.com/andymccurdy/redis-py.git@2.9.0
13+
pip install git+https://github.com/andymccurdy/redis-py.git@2.10.3
1414
pip install git+https://github.com/idning/python-memcached.git#egg=memcache
1515

1616
2. copy binarys to _binaries/::

tests/test_redis/test_mget_mset.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@ def test_multi_delete_on_readonly():
196196

197197
r = redis.Redis(nc.host(), nc.port())
198198

199-
# got "READONLY You can't write against a read only slave"
200-
assert_fail('READONLY|Invalid', r.delete, 'key-1')
199+
# got "You can't write against a read only slave"
200+
assert_fail("You can't write against a read only slave.", r.delete, 'key-1')
201201
assert_equal(0, r.delete('key-2'))
202-
assert_fail('READONLY|Invalid', r.delete, 'key-3')
202+
assert_fail("You can't write against a read only slave", r.delete, 'key-3')
203203

204204
keys = ['key-1', 'key-2', 'kkk-3']
205205
assert_fail('Invalid argument', r.delete, *keys) # got "Invalid argument"

travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [ -n "$TRAVIS" ]; then
1111
sudo pip install redis
1212
sudo pip install nose
1313

14-
sudo pip install git+https://github.com/andymccurdy/redis-py.git@2.9.0
14+
sudo pip install git+https://github.com/andymccurdy/redis-py.git@2.10.3
1515
sudo pip install git+https://github.com/idning/python-memcached.git#egg=memcache
1616
fi
1717

0 commit comments

Comments
 (0)