Skip to content

Commit cc5f359

Browse files
committed
swap to using context in the test
1 parent f1b0cf6 commit cc5f359

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_concurrent_futures/test_process_pool.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import multiprocessing
21
import os
32
import queue
43
import signal
@@ -256,7 +255,7 @@ def test_process_pool_executor_terminate_or_kill_workers_invalid_op(self):
256255

257256
@parameterize(*TERMINATE_OR_KILL_PARAMS)
258257
def test_process_pool_executor_terminate_kill_workers(self, function_name):
259-
manager = multiprocessing.Manager()
258+
manager = self.get_context().Manager()
260259
q = manager.Queue()
261260

262261
with futures.ProcessPoolExecutor(max_workers=1) as executor:

0 commit comments

Comments
 (0)