This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients martin.panter, pitrou, python-dev, rishi.maker.forum, serhiy.storchaka, vstinner
Date 2015-04-03.12:05:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428062736.36.0.280739536903.issue22351@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2015-04-03 12:05:36vstinnersetrecipients: + vstinner, pitrou, python-dev, martin.panter, serhiy.storchaka, rishi.maker.forum
2015-04-03 12:05:36vstinnersetmessageid: <1428062736.36.0.280739536903.issue22351@psf.upfronthosting.co.za>
2015-04-03 12:05:36vstinnerlinkissue22351 messages
2015-04-03 12:05:36vstinnercreate