summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.rst
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-01-21 09:59:37 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-01-21 09:59:37 (GMT)
commit41b2404dabfdc7b470b991b1a8b4a945feaa5f1f (patch)
tree000b24cfd6702c0e8dabd7ec678bc1db48da6872 /Doc/library/unittest.rst
parent3800ea9f652817e510a0db27bf124d2b80e7be10 (diff)
downloadcpython-41b2404dabfdc7b470b991b1a8b4a945feaa5f1f.zip
cpython-41b2404dabfdc7b470b991b1a8b4a945feaa5f1f.tar.gz
cpython-41b2404dabfdc7b470b991b1a8b4a945feaa5f1f.tar.bz2
fix typo; thanks to Justin Watt from docs@
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 d2949f6..bdf07a4 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -376,7 +376,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