mirror of https://github.com/python/cpython.git
#5834: use "failure" instead of "error" because the two have different meanings in unittest context.
This commit is contained in:
parent
b581804d69
commit
64034bbf84
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue