STINNER Victor added the comment:

> Serhiy’s patch looks like it should do the trick. Just get rid of the “self” 
> parameter to make it clearer,

+class MockSslTests(MockSocketTests):
+    def nntp_class(self, *pos, **kw):

Hum, you should use the @staticmethod decorator here.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22351>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to