mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
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.
This commit is contained in:
parent
8a03ff2ff4
commit
613f729e5d
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue