Author erik_andersen
Recipients draghuram, erik_andersen, gvanrossum
Date 2007-11-19.19:20:10
SpamBayes Score 1.73396e-05
Marked as misclassified No
Message-id <>
In-reply-to <>
Raghuram Devarakonda skrev:
> Raghuram Devarakonda added the comment:
> I don't think unittest automatically treats all exceptions as failures.
> Failures are those that are explicitly flagged with assert* and fail*
> methods. All other exceptions result in "errors". I think what you are
> asking for is to special case one such error but am not sure if it is
> worth it.
> ----------
> nosy: +draghuram
> __________________________________
> Tracker <>
> <>
> __________________________________

You are right, I used the wrong word.  I mean that NotImplementedError 
should be treated as a special *error*.

If you have ever written the test cases before you write the code, you 
will get a huge amount of uninteresting output from
errors that come from tests to code you havn't written yet. This will 
drown the real errors and failures from the code
you are actually testing and debugging. What I want is to have unittest 
report these differently so that I can see what are the
real bugs the code, not
to spam me with tracebacks I will never look at for test cases that 
refer to not implemented code.

Date User Action Args
2007-11-19 19:20:11erik_andersensetspambayes_score: 1.73396e-05 -> 1.73396e-05
recipients: + erik_andersen, gvanrossum, draghuram
2007-11-19 19:20:11erik_andersenlinkissue1466 messages
2007-11-19 19:20:10erik_andersencreate