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 jcollado
Recipients bethard, eric.araujo, jcollado, r.david.murray
Date 2010-07-23.14:33:29
SpamBayes Score 0.14803621
Marked as misclassified No
Message-id <1279895612.29.0.982119637438.issue9026@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-07-23 14:33:32jcolladosetrecipients: + jcollado, bethard, eric.araujo, r.david.murray
2010-07-23 14:33:32jcolladosetmessageid: <1279895612.29.0.982119637438.issue9026@psf.upfronthosting.co.za>
2010-07-23 14:33:29jcolladolinkissue9026 messages
2010-07-23 14:33:29jcolladocreate