mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-python/redis-py: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/2362 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -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):
|
||||
Reference in New Issue
Block a user