diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 90807579266a0e47431515272bd229bcf4fd7d39..a000428c8be96a413bb714eb4ae0145dc154ead6 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -2418,7 +2418,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.