[Python-checkins] cpython (3.2): fix typo; thanks to Justin Watt from docs@
sandro.tosi
python-checkins at python.org
Sat Jan 21 11:03:23 CET 2012
http://hg.python.org/cpython/rev/79e7c5841e66
changeset: 74553:79e7c5841e66
branch: 3.2
parent: 74548:514994d7a9f2
user: Sandro Tosi <sandro.tosi at gmail.com>
date: Sat Jan 21 10:59:37 2012 +0100
summary:
fix typo; thanks to Justin Watt from docs@
files:
Doc/library/unittest.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -376,7 +376,7 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list