From: Georg Brandl Date: Sat, 25 Apr 2009 14:51:31 +0000 (+0000) Subject: #5834: use "failure" instead of "error" because the two have different meanings in... X-Git-Tag: v2.7a1~1404 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64034bbf8489849ae75b91ece9d29177623dc788;p=thirdparty%2FPython%2Fcpython.git #5834: use "failure" instead of "error" because the two have different meanings in unittest context. --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index e24f37b84756..50314cd85ce0 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -609,7 +609,7 @@ Test cases assert_(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`. .. deprecated:: 2.7