summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-04-25 14:51:31 (GMT)
committerGeorg Brandl <georg@python.org>2009-04-25 14:51:31 (GMT)
commit64034bbf8489849ae75b91ece9d29177623dc788 (patch)
treee1be879c3e5644f4479b543eb47dc99afaa6d7e0 /Doc/library/unittest.rst
parentb581804d692bb43345db48ee29a7718c45ce0c84 (diff)
downloadcpython-64034bbf8489849ae75b91ece9d29177623dc788.zip
cpython-64034bbf8489849ae75b91ece9d29177623dc788.tar.gz
cpython-64034bbf8489849ae75b91ece9d29177623dc788.tar.bz2
#5834: use "failure" instead of "error" because the two have different meanings in unittest context.
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r--Doc/library/unittest.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index e24f37b..50314cd 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