summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-12-17 17:37:26 (GMT)
committerGitHub <noreply@github.com>2019-12-17 17:37:26 (GMT)
commit9707e8e22d80ca97bf7a9812816701cecde6d226 (patch)
tree088de81a48039faca3709360325055105b9d9c56 /Misc
parent630c8df5cf126594f8c1c4579c1888ca80a29d59 (diff)
downloadcpython-9707e8e22d80ca97bf7a9812816701cecde6d226.zip
cpython-9707e8e22d80ca97bf7a9812816701cecde6d226.tar.gz
cpython-9707e8e22d80ca97bf7a9812816701cecde6d226.tar.bz2
bpo-38546: multiprocessing tests stop the resource tracker (GH-17641)
Multiprocessing and concurrent.futures tests now stop the resource tracker process when tests complete. Add ResourceTracker._stop() method to multiprocessing.resource_tracker. Add _cleanup_tests() helper function to multiprocessing.util: share code between multiprocessing and concurrent.futures tests.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tests/2019-12-17-15-27-07.bpo-38546.82JwN2.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2019-12-17-15-27-07.bpo-38546.82JwN2.rst b/Misc/NEWS.d/next/Tests/2019-12-17-15-27-07.bpo-38546.82JwN2.rst
new file mode 100644
index 0000000..78d9df3
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2019-12-17-15-27-07.bpo-38546.82JwN2.rst
@@ -0,0 +1,2 @@
+Multiprocessing and concurrent.futures tests now stop the resource tracker
+process when tests complete.