diff options
Diffstat (limited to 'testenv/tests/plugins/auth/test_pam.py')
-rw-r--r-- | testenv/tests/plugins/auth/test_pam.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testenv/tests/plugins/auth/test_pam.py b/testenv/tests/plugins/auth/test_pam.py index e3e7fc99..a2cc32fa 100644 --- a/testenv/tests/plugins/auth/test_pam.py +++ b/testenv/tests/plugins/auth/test_pam.py @@ -45,7 +45,7 @@ async def _run_process(cmd: str, input: Optional[str]=None) -> None: # pylint: proc = await asyncio.create_subprocess_exec( *cmd.split(" "), stdin=(asyncio.subprocess.PIPE if input is not None else None), - preexec_fn=aioproc.preexec_ignore_sigint, + preexec_fn=aioproc.ignore_sigint, ) await proc.communicate(input.encode() if input is not None else None) assert proc.returncode == 0 |