8000 [doc] Fix addCleanupClass -> addClassCleanup typo by Conchylicultor · Pull Request #24194 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[doc] Fix addCleanupClass -> addClassCleanup typo #24194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 20, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Fix typo doCleanupsClass -> doClassCleanups
  • Loading branch information
Conchylicultor authored Jan 12, 2021
commit e1410f45e22e41f53ffd6547351c1284cffee205
4 changes: 2 additions & 2 deletions Doc/library/unittest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1500,9 +1500,9 @@ Test cases
It is responsible for calling all the cleanup functions added by
: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
0