Message138744
| Author |
branker |
| Recipients |
branker |
| Date |
2011年06月20日.17:39:13 |
| SpamBayes Score |
0.00021177155 |
| 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: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 |
|