Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
agnesnatasya committed Jul 20, 2024
1 parent 92dd23a commit f7487fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_asyncio/test_sentinel_managed_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async def _connect_to_sentinel(self) -> None:
"""
This simulates the behavior of _connect_to_sentinel when
:py:class:`~redis.asyncio.sentinel.SentinelConnectionPool`.
In master mode, it'll connect to the master.
In master mode, it'll connect to the master.
In non-master mode, it'll call rotate_slaves and connect to the next replica.
"""
if self.connection_pool.is_master:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sentinel_managed_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def _connect_to_sentinel(self) -> None:
"""
This simulates the behavior of _connect_to_sentinel when
:py:class:`~redis.SentinelConnectionPool`.
In master mode, it'll connect to the master.
In master mode, it'll connect to the master.
In non-master mode, it'll call rotate_slaves and connect to the next replica.
"""
if self.connection_pool.is_master:
Expand Down

0 comments on commit f7487fb

Please sign in to comment.