Fix SIGINT test names
parent
5a27065a10
commit
3c7ec72f8e
|
@ -359,7 +359,7 @@ async def test_nested_multierrors(loglevel, start_method):
|
||||||
|
|
||||||
|
|
||||||
@no_windows
|
@no_windows
|
||||||
def test_open_in_proc_cancel_via_SIGINT(loglevel, start_method):
|
def test_cancel_via_SIGINT(loglevel, start_method):
|
||||||
"""Ensure that a control-C (SIGINT) signal cancels both the parent and
|
"""Ensure that a control-C (SIGINT) signal cancels both the parent and
|
||||||
child processes in trionic fashion
|
child processes in trionic fashion
|
||||||
"""
|
"""
|
||||||
|
@ -377,7 +377,7 @@ def test_open_in_proc_cancel_via_SIGINT(loglevel, start_method):
|
||||||
|
|
||||||
|
|
||||||
@no_windows
|
@no_windows
|
||||||
def test_open_in_proc_cancel_via_SIGINT_other_task(
|
def test_cancel_via_SIGINT_other_task(
|
||||||
loglevel,
|
loglevel,
|
||||||
start_method
|
start_method
|
||||||
):
|
):
|
||||||
|
|
|
@ -20,7 +20,6 @@ def _mp_main(
|
||||||
forkserver_info: Tuple[Any, Any, Any, Any, Any],
|
forkserver_info: Tuple[Any, Any, Any, Any, Any],
|
||||||
start_method: str,
|
start_method: str,
|
||||||
parent_addr: Tuple[str, int] = None,
|
parent_addr: Tuple[str, int] = None,
|
||||||
infect_asyncio: bool = False,
|
|
||||||
) -> None:
|
) -> None:
|
||||||
"""The routine called *after fork* which invokes a fresh ``trio.run``
|
"""The routine called *after fork* which invokes a fresh ``trio.run``
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -189,7 +189,6 @@ async def new_proc(
|
||||||
bind_addr: Tuple[str, int],
|
bind_addr: Tuple[str, int],
|
||||||
parent_addr: Tuple[str, int],
|
parent_addr: Tuple[str, int],
|
||||||
use_trio_run_in_process: bool = False,
|
use_trio_run_in_process: bool = False,
|
||||||
infect_asyncio: bool = False,
|
|
||||||
task_status: TaskStatus[Portal] = trio.TASK_STATUS_IGNORED
|
task_status: TaskStatus[Portal] = trio.TASK_STATUS_IGNORED
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Create a new ``multiprocessing.Process`` using the
|
"""Create a new ``multiprocessing.Process`` using the
|
||||||
|
@ -275,7 +274,6 @@ async def new_proc(
|
||||||
fs_info,
|
fs_info,
|
||||||
start_method,
|
start_method,
|
||||||
parent_addr,
|
parent_addr,
|
||||||
infect_asyncio,
|
|
||||||
),
|
),
|
||||||
# daemon=True,
|
# daemon=True,
|
||||||
name=name,
|
name=name,
|
||||||
|
|
Loading…
Reference in New Issue