summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.rst
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-04-16 03:44:14 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-04-16 03:44:14 (GMT)
commit7f84d1eb631925b1fd346bbc0fad5af8a62b20f8 (patch)
tree59315450036d82d383cfbe1044060462acc870f3 /Doc/library/unittest.rst
parent6ac4240b6ce55903f05791e1e3f8c4059a6f25a3 (diff)
downloadcpython-7f84d1eb631925b1fd346bbc0fad5af8a62b20f8.zip
cpython-7f84d1eb631925b1fd346bbc0fad5af8a62b20f8.tar.gz
cpython-7f84d1eb631925b1fd346bbc0fad5af8a62b20f8.tar.bz2
#18566: Whitespace
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r--Doc/library/unittest.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index bc61d3f..52f6e3f 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -674,8 +674,8 @@ Test cases
.. method:: setUp()
Method called to prepare the test fixture. This is called immediately
- before calling the test method; other than :exc:`AssertionError` or :exc:`SkipTest`,
- any exception raised by this method will be considered an error rather than
+ before calling the test method; other than :exc:`AssertionError` or :exc:`SkipTest`,
+ any exception raised by this method will be considered an error rather than
a test failure. The default implementation does nothing.
@@ -684,9 +684,9 @@ Test cases
Method called immediately after the test method has been called and the
result recorded. This is called even if the test method raised an
exception, so the implementation in subclasses may need to be particularly
- careful about checking internal state. Any exception, other than :exc:`AssertionError`
- or :exc:`SkipTest`, raised by this method will be considered an error rather than a
- test failure. This method will only be called if the :meth:`setUp` succeeds,
+ careful about checking internal state. Any exception, other than :exc:`AssertionError`
+ or :exc:`SkipTest`, raised by this method will be considered an error rather than a
+ test failure. This method will only be called if the :meth:`setUp` succeeds,
regardless of the outcome of the test method. The default implementation does nothing.