Message195517
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. |
|
Date |
User |
Action |
Args |
2013-08-17 20:32:36 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, pitrou, ezio.melotti, michael.foord, vajrasky |
2013-08-17 20:32:36 | serhiy.storchaka | set | messageid: <1376771556.38.0.190672012541.issue18702@psf.upfronthosting.co.za> |
2013-08-17 20:32:36 | serhiy.storchaka | link | issue18702 messages |
2013-08-17 20:32:36 | serhiy.storchaka | create | |
|