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 serhiy.storchaka
Recipients ezio.melotti, michael.foord, pitrou, serhiy.storchaka, terry.reedy, vajrasky
Date 2013-08-17.20:32:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376771556.38.0.190672012541.issue18702@psf.upfronthosting.co.za>
In-reply-to
Content
Actually you should call parent's setUpClass at the and of declared setUpClass. Therefore you need 4 nontrivial lines instead of 1. The test will fail in setUpClass() in any case because parent's setUpClass() uses NNTP_CLASS. There are no behavior difference between this variants, the variant with getattr just is shorter.
History
Date User Action Args
2013-08-17 20:32:36serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, pitrou, ezio.melotti, michael.foord, vajrasky
2013-08-17 20:32:36serhiy.storchakasetmessageid: <1376771556.38.0.190672012541.issue18702@psf.upfronthosting.co.za>
2013-08-17 20:32:36serhiy.storchakalinkissue18702 messages
2013-08-17 20:32:36serhiy.storchakacreate