diff options
author | Lisa Roach <lisaroach14@gmail.com> | 2018-11-09 02:34:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-09 02:34:33 (GMT) |
commit | 0f221d09cad46bee38d1b7a7822772df66c53028 (patch) | |
tree | 5c121b9d4747136f74eeac45c62211a2ae32dceb /Doc/whatsnew | |
parent | 49fa4a9f1ef387e16596f271414c855339eadf09 (diff) | |
download | cpython-0f221d09cad46bee38d1b7a7822772df66c53028.zip cpython-0f221d09cad46bee38d1b7a7822772df66c53028.tar.gz cpython-0f221d09cad46bee38d1b7a7822772df66c53028.tar.bz2 |
bpo-24412: Adds cleanUps for setUpClass and setUpModule. (GH-9190)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.8.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 74bdba3..91e0d5b 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -233,6 +233,15 @@ unicodedata is in a specific normal form. (Contributed by Max Belanger and David Euresti in :issue:`32285`). +unittest +-------- + +* Added :func:`~unittest.addModuleCleanup()` and + :meth:`~unittest.TestCase.addClassCleanup()` to unittest to support + cleanups for :func:`~unittest.setUpModule()` and + :meth:`~unittest.TestCase.setUpClass()`. + (Contributed by Lisa Roach in :issue:`24412`.) + venv ---- |