[Python-checkins] r71902 - python/trunk/Doc/library/unittest.rst

georg.brandl python-checkins at python.org
Sat Apr 25 16:51:31 CEST 2009


Author: georg.brandl
Date: Sat Apr 25 16:51:31 2009
New Revision: 71902

Log:
#5834: use "failure" instead of "error" because the two have different meanings in unittest context.

Modified:
   python/trunk/Doc/library/unittest.rst

Modified: python/trunk/Doc/library/unittest.rst
==============================================================================
--- python/trunk/Doc/library/unittest.rst	(original)
+++ python/trunk/Doc/library/unittest.rst	Sat Apr 25 16:51:31 2009
@@ -609,7 +609,7 @@
                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


More information about the Python-checkins mailing list