Author r.david.murray
Recipients branker, michael.foord, r.david.murray, rhettinger, terry.reedy
Date 2011-06-26.02:15:52
SpamBayes Score 3.3898e-08
Marked as misclassified No
Message-id <>
I think we'll have to wait for Micheal to double check, but it looks to me like there is a bug in unittest.TextTestResult.  TestResult's init expects the three arguments the OP is talking about, but defaults them to None.  TextTestResult accepts those three arguments in its init with no defaults, but does not pass them to the base class in the super call.  If this is intentional, I would say that it needs to be documented, since it is not obvious why it would be done that way, since it does, in fact, break the "cooperating classes" model required to use super correctly.

(As an aside, I was quite surprised to find TextTestResult in the file rather than the file within the unittest package.)
Date User Action Args
2011-06-26 02:15:53r.david.murraysetrecipients: + r.david.murray, rhettinger, terry.reedy, michael.foord, branker
2011-06-26 02:15:53r.david.murraysetmessageid: <>
2011-06-26 02:15:52r.david.murraylinkissue12376 messages
2011-06-26 02:15:52r.david.murraycreate