Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 8c78cdf

Browse files
erikjohnstonclokep
andcommitted
Update tests/replication/_base.py
Co-authored-by: Patrick Cloke <[email protected]>
1 parent 6a0da53 commit 8c78cdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/replication/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def setUp(self):
224224
# manually have to go and explicitly set it up each time (plus sometimes
225225
# it is impossible to write the handling explicitly in the tests).
226226
#
227-
# This sets registers the master replication listener:
227+
# Register the master replication listener:
228228
self.reactor.add_tcp_client_callback(
229229
"1.2.3.4",
230230
8765,
@@ -647,5 +647,5 @@ def encode(self, obj):
647647

648648
raise Exception("Unrecognized type for encoding redis: %r: %r", type(obj), obj)
649649

650-
def connectionList(self, reason):
650+
def connectionLost(self, reason):
651651
self._server.remove_subscriber(self)

0 commit comments

Comments
 (0)