Skip to content

Commit

Permalink
fix:remove failing test on redis-py 5.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Jul 30, 2024
1 parent 4964196 commit 2f0b001
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/test_asyncredis.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,6 @@ async def test_failed_script_error7(self, async_redis):
await async_redis.eval('return redis.call("ZCOUNT", KEYS[1])', 1, "foo")


@fake_only
@testtools.run_test_if_redispy_ver("lt", "5.1.0b1")
async def test_repr_redis_until_51(async_redis: redis.asyncio.Redis):
assert re.fullmatch(
r"ConnectionPool<FakeConnection<server=<fakeredis._server.FakeServer object at .*>,db=0>>",
repr(async_redis.connection_pool),
)


@testtools.run_test_if_redispy_ver("gte", "5.1")
async def test_repr_redis_51(async_redis: redis.asyncio.Redis):
assert re.fullmatch(
Expand Down

0 comments on commit 2f0b001

Please sign in to comment.