summaryrefslogtreecommitdiff
path: root/Lib/test/test_multiprocessing.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-12-06 01:49:41 +0100
committerGitHub <noreply@github.com>2018-12-06 01:49:41 +0100
commit358fc87f53cf97a1768d5b1ded08f2a564f9fd85 (patch)
tree2e09a9be4698688e81239384ab7fb44c6e1a3589 /Lib/test/test_multiprocessing.py
parent40ef5b73c240ad0a73b734919b9e4f7062ae5b1f (diff)
downloadcpython-git-358fc87f53cf97a1768d5b1ded08f2a564f9fd85.tar.gz
Revert "[2.7] bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-9686)" (GH-10970)
This reverts commit 4a7dd30f5810e8861a3834159a222ab32d5c97d0.
Diffstat (limited to 'Lib/test/test_multiprocessing.py')
-rw-r--r--Lib/test/test_multiprocessing.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index d3192181e5..ff299feed8 100644
--- a/Lib/test/test_multiprocessing.py
+++ b/Lib/test/test_multiprocessing.py
@@ -1359,13 +1359,6 @@ class _TestPool(BaseTestCase):
# they were released too.
self.assertEqual(CountedObject.n_instances, 0)
- def test_del_pool(self):
- p = self.Pool(1)
- wr = weakref.ref(p)
- del p
- gc.collect()
- self.assertIsNone(wr())
-
def unpickleable_result():
return lambda: 42