From fd5d67817efc1baf981935d4b6003dd9eeef2d55 Mon Sep 17 00:00:00 2001 From: "Ilya.Kazakevich" Date: Tue, 1 Jul 2025 15:07:27 +0200 Subject: [PATCH] PY-82318: Kill process that keeps python installation. We create tmp dir in tests in a temporary dir and want to drop it then. However, some background python process (I blame package manager cache) keeps this directory which prevents it from being deleted on Windows. We now drop it. GitOrigin-RevId: 35b3e1b75c1e3be7df1dd4e3b3fd155a24baff41 --- .../env/terminal/PyVirtualEnvTerminalCustomizerTest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/python/python-terminal/tests/com/intellij/python/junit5Tests/env/terminal/PyVirtualEnvTerminalCustomizerTest.kt b/python/python-terminal/tests/com/intellij/python/junit5Tests/env/terminal/PyVirtualEnvTerminalCustomizerTest.kt index 731cb7bf447c..ffe1fe888fc6 100644 --- a/python/python-terminal/tests/com/intellij/python/junit5Tests/env/terminal/PyVirtualEnvTerminalCustomizerTest.kt +++ b/python/python-terminal/tests/com/intellij/python/junit5Tests/env/terminal/PyVirtualEnvTerminalCustomizerTest.kt @@ -180,6 +180,7 @@ class PyVirtualEnvTerminalCustomizerTest { finally { if (SystemInfo.isWindows) { deleteCheckLocking(tempDirFixture.get()) + deleteCheckLocking(venvPath) } process.kill() process.exitCode.await()