diff options
Diffstat (limited to 'dev-python/redis-py/files/redis-py-2.10.5-test-backport.patch')
-rw-r--r-- | dev-python/redis-py/files/redis-py-2.10.5-test-backport.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/dev-python/redis-py/files/redis-py-2.10.5-test-backport.patch b/dev-python/redis-py/files/redis-py-2.10.5-test-backport.patch deleted file mode 100644 index 74d2d14134d5..000000000000 --- a/dev-python/redis-py/files/redis-py-2.10.5-test-backport.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 550eee8106ca5984f104b3a2a79299d9ae0821af Mon Sep 17 00:00:00 2001 -From: Chris Lamb <chris@chris-lamb.co.uk> -Date: Tue, 18 Aug 2015 13:28:40 +0200 -Subject: [PATCH] Fix tests under Redis 3.x; we can be of an "embedded string" - format now. - -Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk> ---- - tests/test_commands.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/test_commands.py b/tests/test_commands.py -index 2e104ed..c0e56b0 100644 ---- a/tests/test_commands.py -+++ b/tests/test_commands.py -@@ -112,7 +112,7 @@ def test_object(self, r): - r['a'] = 'foo' - assert isinstance(r.object('refcount', 'a'), int) - assert isinstance(r.object('idletime', 'a'), int) -- assert r.object('encoding', 'a') == b('raw') -+ assert r.object('encoding', 'a') in (b('raw'), b('embstr')) - assert r.object('idletime', 'invalid-key') is None - - def test_ping(self, r): |