Browse Source

Do not retain references to processes and managers in TestSyncManagerTypes (GH-11801)

Keeping references to processes and managers between tests makes them count as dangling processes.
pull/11805/head
Pablo Galindo 7 years ago
committed by GitHub
parent
commit
613f729e5d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Lib/test/_test_multiprocessing.py

2
Lib/test/_test_multiprocessing.py

@ -4740,6 +4740,8 @@ class TestSyncManagerTypes(unittest.TestCase):
self.proc.terminate()
self.proc.join()
self.manager.shutdown()
self.manager = None
self.proc = None
@classmethod
def setUpClass(cls):

Loading…
Cancel
Save