cpython: 6d8ff8c57d38 (original) (raw)
Mercurial > cpython
changeset 85682:6d8ff8c57d38 2.7
#18951: use consistent names in unittest docs. [#18951]
Ezio Melotti ezio.melotti@gmail.com | |
---|---|
date | Fri, 13 Sep 2013 22:17:40 +0300 |
parents | a58b620e4dc9 |
children | eaae175f1ff7 |
files | Doc/library/unittest.rst |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-)[+] [-] Doc/library/unittest.rst 8 |
line wrap: on
line diff
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -916,8 +916,8 @@ Test cases
| :meth:assertRaises(exc, fun, *args, **kwds) | ``fun(*args, **kwds)`` raises *exc* | |[](#l1.4) | <TestCase.assertRaises>
| | |
+---------------------------------------------------------+--------------------------------------+------------+
- | :meth:`assertRaisesRegexp(exc, re, fun, *args, **kwds) |
fun(*args, **kwds)
raises exc | 2.7 | - | <TestCase.assertRaisesRegexp>` | and the message matches re | |
- | :meth:`assertRaisesRegexp(exc, r, fun, *args, **kwds) |
fun(*args, **kwds)
raises exc | 2.7 | - | <TestCase.assertRaisesRegexp>
| and the message matches regex *r* | |[](#l1.10) +---------------------------------------------------------+--------------------------------------+------------+[](#l1.11) [](#l1.12) .. method:: assertRaises(exception, callable, *args, **kwds)[](#l1.13) @@ -993,10 +993,10 @@ Test cases[](#l1.14) | :meth:
assertLessEqual(a, b) |a <= b
| 2.7 | | <TestCase.assertLessEqual>` | | | +---------------------------------------+--------------------------------+--------------+