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 c6c7bf7 commit 868b499
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion redis/sentinel.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import random
import weakref
from typing import Any, Iterable, Optional
from collections import defaultdict
from typing import Any, Iterable, Optional

from redis.client import Redis
from redis.commands import SentinelCommands
Expand Down
1 change: 0 additions & 1 deletion tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,4 +346,3 @@ def test_unix_socket_connection_failure():
str(e.value)
== "Error 2 connecting to unix:///tmp/a.sock. No such file or directory."
)

1 change: 1 addition & 0 deletions tests/test_sentinel.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import pytest
import redis.sentinel
from redis import exceptions
from redis.connection import Connection
from redis.sentinel import (
ConnectionsIndexer,
MasterNotFoundError,
Expand Down

0 comments on commit 868b499

Please sign in to comment.