Skip to content

Commit 3dfb17a

Browse files
committed
linting
1 parent 364a7ac commit 3dfb17a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_asyncio/test_pubsub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ async def test_reconnect_disconnect(self, r: redis.Redis, method):
848848
async with self.cond:
849849
self.state = 1
850850
await self.pubsub.connection.disconnect()
851-
assert not self.pubsub.connection.is_connected # it is in a disconnecte state
851+
assert not self.pubsub.connection.is_connected
852852
# wait for reconnect
853853
await self.cond.wait_for(lambda: self.pubsub.connection.is_connected)
854854
assert self.state == 3

tests/test_pubsub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def test_reconnect_disconnect(self, r: redis.Redis, method):
691691
with self.cond:
692692
self.state = 1
693693
self.pubsub.connection.disconnect()
694-
assert self.pubsub.connection._sock is None # it is in a disconnected state
694+
assert self.pubsub.connection._sock is None
695695
# wait for reconnect
696696
self.wait_for_reconnect()
697697
finally:

0 commit comments

Comments
 (0)