1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
From: Daniel M <daniel.maruani@gmail.com>
Date: Tue, 5 Aug 2025 13:14:23 -0400
Subject: remove unneeded test
Origin: upstream, https://github.com/cunla/fakeredis-py/commit/3a7eda739abeaab159b93198ca23a852ef0ba21d
Last-Update: 2025-09-16
---
test/test_internals/test_asyncredis.py | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/test/test_internals/test_asyncredis.py b/test/test_internals/test_asyncredis.py
index e67b1b4..1bcd8d4 100644
--- a/test/test_internals/test_asyncredis.py
+++ b/test/test_internals/test_asyncredis.py
@@ -1,5 +1,3 @@
-import re
-
import pytest
import redis
import redis.asyncio
@@ -16,16 +14,6 @@ pytestmark.extend(
)
-@fake_only
-@testtools.run_test_if_redispy_ver("gte", "5.1")
-async def test_repr_redis_51(async_redis: redis.asyncio.Redis):
- assert re.fullmatch(
- r"<redis.asyncio.connection.ConnectionPool\("
- r"<fakeredis.aioredis.FakeConnection\(server=<fakeredis._server.FakeServer object at .*>,db=0\)>\)>",
- repr(async_redis.connection_pool),
- )
-
-
@fake_only
@pytest.mark.disconnected
async def test_not_connected(async_redis: redis.asyncio.Redis):
|