Author branker
Recipients branker
Date 2011-06-20.17:39:13
SpamBayes Score 0.000211772
Marked as misclassified No
Message-id <1308591554.84.0.206840920137.issue12376@psf.upfronthosting.co.za>
In-reply-to
Content
TextTestResult.__init__(...) calls super(TextTestResult, self).__init__() with no args. If a custom TextTestResult descendant has a complex inheritance hierarchy that puts another class between TextTestResult and TestResult in the __mro__, then that class doesn't receive the common stream, descriptions, and verbosity args. If it needs them to function then the __init__ chain explodes.

See attached breakunit.py for an example of this.
History
Date User Action Args
2011-06-20 17:39:14brankersetrecipients: + branker
2011-06-20 17:39:14brankersetmessageid: <1308591554.84.0.206840920137.issue12376@psf.upfronthosting.co.za>
2011-06-20 17:39:14brankerlinkissue12376 messages
2011-06-20 17:39:14brankercreate