Message195517
| 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. |
|