From 50ff513ea66e17ac8a006fbfd153353711c70da3 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 25 Dec 2015 16:03:42 +0100 Subject: [PATCH] Add link to Python bug tracker to explain why assertions differ. --- irctest/client_mock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irctest/client_mock.py b/irctest/client_mock.py index 12f929e..91a79dd 100644 --- a/irctest/client_mock.py +++ b/irctest/client_mock.py @@ -97,7 +97,7 @@ class ClientMock: line += '\r\n' encoded_line = line.encode() ret = self.conn.sendall(encoded_line) - if self.ssl: + if self.ssl: # https://bugs.python.org/issue25951 assert ret == len(encoded_line), (ret, repr(encoded_line)) else: assert ret is None, ret