Message157038
Because you then have classes that inherit from object calling methods that clearly don't exist (until you subclass them *and* TestCase). It looks weird and also means the classes can't be tested in isolation.
With a class decorator the code would *look* straightforward, and the hidden attribute is just an implementation detail. |
|
Date |
User |
Action |
Args |
2012-03-29 12:20:29 | michael.foord | set | recipients:
+ michael.foord, eric.araujo, r.david.murray, anacrolix |
2012-03-29 12:20:29 | michael.foord | set | messageid: <1333023629.03.0.569193778351.issue14408@psf.upfronthosting.co.za> |
2012-03-29 12:20:28 | michael.foord | link | issue14408 messages |
2012-03-29 12:20:28 | michael.foord | create | |
|