Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Doc/library/unittest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1477,11 +1477,11 @@ Test cases
after :meth:`setUpClass` if :meth:`setUpClass` raises an exception.

It is responsible for calling all the cleanup functions added by
:meth:`addCleanupClass`. If you need cleanup functions to be called
:meth:`addClassCleanup`. If you need cleanup functions to be called
*prior* to :meth:`tearDownClass` then you can call
:meth:`doCleanupsClass` yourself.
:meth:`doClassCleanups` yourself.

:meth:`doCleanupsClass` pops methods off the stack of cleanup
:meth:`doClassCleanups` pops methods off the stack of cleanup
functions one at a time, so it can be called at any time.

.. versionadded:: 3.8
Expand Down