Skip to content
Snippets Groups Projects
Unverified Commit 38486ca2 authored by Mikhail Terekhov's avatar Mikhail Terekhov Committed by GitHub
Browse files

Fix typo in unittest.rst: addCleanupModule -> addModuleCleanup (GH-92631)

parent dc091204
No related branches found
No related tags found
No related merge requests found
......@@ -2512,7 +2512,7 @@ To add cleanup code that must be run even in the case of an exception, use
after :func:`setUpModule` if :func:`setUpModule` raises an exception.
It is responsible for calling all the cleanup functions added by
:func:`addCleanupModule`. If you need cleanup functions to be called
:func:`addModuleCleanup`. If you need cleanup functions to be called
*prior* to :func:`tearDownModule` then you can call
:func:`doModuleCleanups` yourself.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment