diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-16 06:31:54 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-16 06:31:54 (GMT) |
commit | 4ecfa455ae47bd955857348238c8bf8476819a1e (patch) | |
tree | 9b95caf33bcc54b96eaeb875a7c8cfd7db5c2809 /Doc/library/unittest.rst | |
parent | 98019e1cf6dec54ca6c56ceb150869c1430bfda3 (diff) | |
download | cpython-4ecfa455ae47bd955857348238c8bf8476819a1e.zip cpython-4ecfa455ae47bd955857348238c8bf8476819a1e.tar.gz cpython-4ecfa455ae47bd955857348238c8bf8476819a1e.tar.bz2 |
Expand abbreviations FIFO and LIFO.
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r-- | Doc/library/unittest.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 8482f20..55a6aaf 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -1388,9 +1388,9 @@ Test cases Add a function to be called after :meth:`tearDown` to cleanup resources used during the test. Functions will be called in reverse order to the - order they are added (LIFO). They are called with any arguments and - keyword arguments passed into :meth:`addCleanup` when they are - added. + order they are added (:abbr:`LIFO (last-in, first-out)`). They + are called with any arguments and keyword arguments passed into + :meth:`addCleanup` when they are added. If :meth:`setUp` fails, meaning that :meth:`tearDown` is not called, then any cleanup functions added will still be called. |