Kaydet (Commit) 64034bbf authored tarafından Georg Brandl's avatar Georg Brandl

#5834: use "failure" instead of "error" because the two have different meanings…

#5834: use "failure" instead of "error" because the two have different meanings in unittest context.
üst b581804d
...@@ -609,7 +609,7 @@ Test cases ...@@ -609,7 +609,7 @@ Test cases
assert_(expr[, msg]) assert_(expr[, msg])
failUnless(expr[, msg]) failUnless(expr[, msg])
Signal a test failure if *expr* is false; the explanation for the error Signal a test failure if *expr* is false; the explanation for the failure
will be *msg* if given, otherwise it will be :const:`None`. will be *msg* if given, otherwise it will be :const:`None`.
.. deprecated:: 2.7 .. deprecated:: 2.7
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment