Message138744
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. |
|
Date |
User |
Action |
Args |
2011-06-20 17:39:14 | branker | set | recipients:
+ branker |
2011-06-20 17:39:14 | branker | set | messageid: <1308591554.84.0.206840920137.issue12376@psf.upfronthosting.co.za> |
2011-06-20 17:39:14 | branker | link | issue12376 messages |
2011-06-20 17:39:14 | branker | create | |
|