fix: code review (#16)

This commit is contained in:
banteg
2026-01-01 23:14:17 +04:00
committed by GitHub
parent 035441c889
commit 12dfaded26
14 changed files with 78 additions and 58 deletions
+5 -3
View File
@@ -16,9 +16,11 @@ async def test_manage_subprocess_kills_when_terminate_times_out(
monkeypatch.setattr(subprocess_utils, "wait_for_process", fake_wait_for_process)
async with subprocess_utils.manage_subprocess(
sys.executable,
"-c",
"import signal, time; signal.signal(signal.SIGTERM, signal.SIG_IGN); time.sleep(10)",
[
sys.executable,
"-c",
"import signal, time; signal.signal(signal.SIGTERM, signal.SIG_IGN); time.sleep(10)",
]
) as proc:
assert proc.returncode is None