Commit 41b2404d authored by Sandro Tosi's avatar Sandro Tosi

fix typo; thanks to Justin Watt from docs@

parent 3800ea9f
...@@ -376,7 +376,7 @@ The simplest :class:`TestCase` subclass will simply override the ...@@ -376,7 +376,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment