From a98d01cbc174d046cd4cdcfe145830413b8b01f6 Mon Sep 17 00:00:00 2001 From: Eugene Kornykhin Date: Fri, 24 Apr 2026 22:46:34 +0300 Subject: [PATCH] fix absence of pytest kill in Cancel Test Run --- .../testing/testController/pytest/pytestExecutionAdapter.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/testing/testController/pytest/pytestExecutionAdapter.ts b/src/client/testing/testController/pytest/pytestExecutionAdapter.ts index 102841c2e2dd..33a4e5f36ce9 100644 --- a/src/client/testing/testController/pytest/pytestExecutionAdapter.ts +++ b/src/client/testing/testController/pytest/pytestExecutionAdapter.ts @@ -246,6 +246,7 @@ export class PytestTestExecutionAdapter implements ITestExecutionAdapter { }); const result = execService?.execObservable(runArgs, spawnOptions); + resultProc = result?.proc; // Take all output from the subprocess and add it to the test output channel. This will be the pytest output. // Displays output to user and ensure the subprocess doesn't run into buffer overflow.