Message111334
The hasattr expressions were added to TestHelpFormattingMetaclass because:
- A new attribute (subparsers_signature) was added in test classes that wasn't used in the past.
- The new test classes didn't make use of some of the already in place attributes (argument_signatures, argument_signatures)
- The old test classes didn't make use of the new attribute (subparsers_signature).
- TestHelpFormattingMetaclass assumed that those attributes were present in test classes (otherwise an exception was raised).
Hence, in order not to change/break a lot of test cases, I decided to add the hasattr expressions. |
|
Date |
User |
Action |
Args |
2010-07-23 14:33:32 | jcollado | set | recipients:
+ jcollado, bethard, eric.araujo, r.david.murray |
2010-07-23 14:33:32 | jcollado | set | messageid: <1279895612.29.0.982119637438.issue9026@psf.upfronthosting.co.za> |
2010-07-23 14:33:29 | jcollado | link | issue9026 messages |
2010-07-23 14:33:29 | jcollado | create | |
|