diff options
| author | Georg Brandl <georg@python.org> | 2009-04-25 14:51:31 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-04-25 14:51:31 (GMT) |
| commit | 64034bbf8489849ae75b91ece9d29177623dc788 (patch) | |
| tree | e1be879c3e5644f4479b543eb47dc99afaa6d7e0 /Doc/library/unittest.rst | |
| parent | b581804d692bb43345db48ee29a7718c45ce0c84 (diff) | |
| download | cpython-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.rst | 2 |
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 |
