diff options
author | Georg Brandl <georg@python.org> | 2009-04-25 14:51:31 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-04-25 14:51:31 +0000 |
commit | 64034bbf8489849ae75b91ece9d29177623dc788 (patch) | |
tree | e1be879c3e5644f4479b543eb47dc99afaa6d7e0 | |
parent | b581804d692bb43345db48ee29a7718c45ce0c84 (diff) | |
download | cpython-git-64034bbf8489849ae75b91ece9d29177623dc788.tar.gz |
#5834: use "failure" instead of "error" because the two have different meanings in unittest context.
-rw-r--r-- | Doc/library/unittest.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 |