mirror of
https://github.com/progval/irctest.git
synced 2025-04-05 23:09:48 +00:00
Add link to Python bug tracker to explain why assertions differ.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user