From 64034bbf8489849ae75b91ece9d29177623dc788 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 25 Apr 2009 14:51:31 +0000 Subject: [PATCH] #5834: use "failure" instead of "error" because the two have different meanings in unittest context. --- Doc/library/unittest.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index e24f37b847..50314cd85c 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 -- 2.50.1