From d557327ab18e8ddf88d7ec2f1e7685a2d2781511 Mon Sep 17 00:00:00 2001 From: Mikhail Terekhov Date: Tue, 10 May 2022 12:18:14 -0400 Subject: [PATCH] Typo in unittest.rst --- Doc/library/unittest.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index f6bcba06d90ee6..e07a32b88b1c30 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -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.