diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-01-21 09:59:12 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-01-21 09:59:12 (GMT) |
commit | 2d71e5c6b93f8fd8f0c07c6c284322a44cdf245f (patch) | |
tree | 05a48ef4987a1f171b5f3ddf2d30aaa0f985d65e /Doc | |
parent | 27a4918c99e06bca4cb6b44163d6858318796455 (diff) | |
download | cpython-2d71e5c6b93f8fd8f0c07c6c284322a44cdf245f.zip cpython-2d71e5c6b93f8fd8f0c07c6c284322a44cdf245f.tar.gz cpython-2d71e5c6b93f8fd8f0c07c6c284322a44cdf245f.tar.bz2 |
fix typo; thanks to Justin Watt from docs@
Diffstat (limited to 'Doc')
-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 244dc43..b53c029 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -352,7 +352,7 @@ The simplest :class:`TestCase` subclass will simply override the widget = Widget('The widget') self.assertEqual(widget.size(), (50, 50), 'incorrect default size') -Note that in order to test something, we use the one of the :meth:`assert\*` +Note that in order to test something, we use one of the :meth:`assert\*` methods provided by the :class:`TestCase` base class. If the test fails, an exception will be raised, and :mod:`unittest` will identify the test case as a :dfn:`failure`. Any other exceptions will be treated as :dfn:`errors`. This |