mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-32126: Skip asyncio test when sem_open() is not functional (GH-4559)
This commit is contained in:
parent
4274609e18
commit
a6fba9b827
2 changed files with 6 additions and 0 deletions
|
@ -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(
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Skip test_get_event_loop_new_process in test.test_asyncio.test_events when
|
||||
sem_open() is not functional.
|
Loading…
Add table
Add a link
Reference in a new issue