Skip to content

Commit

Permalink
improve test_register_with_event_loop__on_disconnect__per_connection …
Browse files Browse the repository at this point in the history
…docstring
  • Loading branch information
pawl committed May 31, 2023
1 parent 34e366d commit bab5ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/unit/transport/test_redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ def test_register_with_event_loop__on_disconnect__loop_cleanup(self, fds):
assert len(loop.on_tick) == 1

def test_register_with_event_loop__on_disconnect__per_connection(self):
"""Disconnection stops the respective event loop."""
"""Disconnection removes the respective function in event loop."""
connection = Connection(transport=Transport)
transport = connection.transport
transport.cycle = Mock(name='cycle')
Expand Down

0 comments on commit bab5ee5

Please sign in to comment.