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

Commit

Permalink
Update tests/replication/_base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
  • Loading branch information
erikjohnston and clokep committed Oct 1, 2020
1 parent 6a0da53 commit 8c78cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/replication/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def setUp(self):
# manually have to go and explicitly set it up each time (plus sometimes
# it is impossible to write the handling explicitly in the tests).
#
# This sets registers the master replication listener:
# Register the master replication listener:
self.reactor.add_tcp_client_callback(
"1.2.3.4",
8765,
Expand Down Expand Up @@ -647,5 +647,5 @@ def encode(self, obj):

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

def connectionList(self, reason):
def connectionLost(self, reason):
self._server.remove_subscriber(self)

0 comments on commit 8c78cdf

Please sign in to comment.