fix typo; thanks to Justin Watt from docs@

This commit is contained in:
Sandro Tosi 2012-01-21 10:59:12 +01:00
parent 27a4918c99
commit 2d71e5c6b9
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ The simplest :class:`TestCase` subclass will simply override the
widget = Widget('The widget') widget = Widget('The widget')
self.assertEqual(widget.size(), (50, 50), 'incorrect default size') 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 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 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 :dfn:`failure`. Any other exceptions will be treated as :dfn:`errors`. This