summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorLisa Roach <lisaroach14@gmail.com>2018-11-09 02:34:33 (GMT)
committerGitHub <noreply@github.com>2018-11-09 02:34:33 (GMT)
commit0f221d09cad46bee38d1b7a7822772df66c53028 (patch)
tree5c121b9d4747136f74eeac45c62211a2ae32dceb /Misc
parent49fa4a9f1ef387e16596f271414c855339eadf09 (diff)
downloadcpython-0f221d09cad46bee38d1b7a7822772df66c53028.zip
cpython-0f221d09cad46bee38d1b7a7822772df66c53028.tar.gz
cpython-0f221d09cad46bee38d1b7a7822772df66c53028.tar.bz2
bpo-24412: Adds cleanUps for setUpClass and setUpModule. (GH-9190)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-09-11-10-51-16.bpo-24412.i-F_E5.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-09-11-10-51-16.bpo-24412.i-F_E5.rst b/Misc/NEWS.d/next/Library/2018-09-11-10-51-16.bpo-24412.i-F_E5.rst
new file mode 100644
index 0000000..862500d
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-09-11-10-51-16.bpo-24412.i-F_E5.rst
@@ -0,0 +1,4 @@
+Add :func:`~unittest.addModuleCleanup()` and
+:meth:`~unittest.TestCase.addClassCleanup()` to unittest to support
+cleanups for :func:`~unittest.setUpModule()` and
+:meth:`~unittest.TestCase.setUpClass()`. Patch by Lisa Roach.