homepage

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 loewis
Recipients loewis, michael.foord
Date 2010年09月23日.14:32:46
SpamBayes Score 0.00010519117
Marked as misclassified No
Message-id <1285252368.31.0.189981048833.issue9926@psf.upfronthosting.co.za>
In-reply-to
Content
In Python 3.2, when inheriting from TestSuite, it is no longer possible to override __call__ (e.g. to introduce a TestSuite setUp and tearDown).
The __call__ method will not be called anymore.
Instead, if the object has a _wrapped_run defined (which it will, since it inherits from TestSuite), then this is called instead. Overriding _wrapped_run is a work-around, however, this being a private method, overriding it is probably not a good idea.
History
Date User Action Args
2010年09月23日 14:32:48loewissetrecipients: + loewis, michael.foord
2010年09月23日 14:32:48loewissetmessageid: <1285252368.31.0.189981048833.issue9926@psf.upfronthosting.co.za>
2010年09月23日 14:32:46loewislinkissue9926 messages
2010年09月23日 14:32:46loewiscreate

AltStyle によって変換されたページ (->オリジナル) /