Skip to content

Commit e6003e8

Browse files
committed
remove ignore
1 parent 1d25a88 commit e6003e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_asyncio/test_sentinel_managed_connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async def connect_to(self, address: tuple[str, int]) -> None:
8282
async def connection_pool_replica_mock() -> SentinelConnectionPool:
8383
sentinel_manager = Sentinel([["master", 400]])
8484
# Give a random slave
85-
sentinel_manager.discover_slaves = AsyncMock(return_value=["replica", 5000]) # type: ignore[method-assign]
85+
sentinel_manager.discover_slaves = AsyncMock(return_value=["replica", 5000])
8686
# Create connection pool with our mock connection object
8787
connection_pool = SentinelConnectionPool(
8888
"usasm",
@@ -97,7 +97,7 @@ async def connection_pool_replica_mock() -> SentinelConnectionPool:
9797
async def connection_pool_master_mock() -> SentinelConnectionPool:
9898
sentinel_manager = Sentinel([["master", 400]])
9999
# Give a random slave
100-
sentinel_manager.discover_master = AsyncMock(return_value=["replica", 5000]) # type: ignore[method-assign]
100+
sentinel_manager.discover_master = AsyncMock(return_value=["replica", 5000])
101101
# Create connection pool with our mock connection object
102102
connection_pool = SentinelConnectionPool(
103103
"usasm",

0 commit comments

Comments
 (0)