diff options
author | Mikhail Terekhov <termim@gmail.com> | 2022-05-11 06:14:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 06:14:12 (GMT) |
commit | 38486ca212c0827d54e7b0d0b1e2c1ccc2bdad33 (patch) | |
tree | c630dc4fe06bd7c31dd099add389b2748741cb2e /Doc/library/unittest.rst | |
parent | dc091204f92a72cc7f9ad3af2055b88dcd538161 (diff) | |
download | cpython-38486ca212c0827d54e7b0d0b1e2c1ccc2bdad33.zip cpython-38486ca212c0827d54e7b0d0b1e2c1ccc2bdad33.tar.gz cpython-38486ca212c0827d54e7b0d0b1e2c1ccc2bdad33.tar.bz2 |
Fix typo in unittest.rst: addCleanupModule -> addModuleCleanup (GH-92631)
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r-- | Doc/library/unittest.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index f6bcba0..e07a32b 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. |