From 2d71e5c6b93f8fd8f0c07c6c284322a44cdf245f Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Sat, 21 Jan 2012 10:59:12 +0100 Subject: [PATCH] fix typo; thanks to Justin Watt from docs@ --- Doc/library/unittest.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 244dc4374c..b53c029249 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 -- 2.40.0