Commit a6fba9b8 authored by xdegaye's avatar xdegaye Committed by GitHub

bpo-32126: Skip asyncio test when sem_open() is not functional (GH-4559)

parent 4274609e
......@@ -2155,6 +2155,10 @@ else:
super().tearDown()
def test_get_event_loop_new_process(self):
# Issue bpo-32126: The multiprocessing module used by
# ProcessPoolExecutor is not functional when the
# multiprocessing.synchronize module cannot be imported.
support.import_module('multiprocessing.synchronize')
async def main():
pool = concurrent.futures.ProcessPoolExecutor()
result = await self.loop.run_in_executor(
......
Skip test_get_event_loop_new_process in test.test_asyncio.test_events when
sem_open() is not functional.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment