[python] testTools: fix expandWithPath()

GitOrigin-RevId: 7904108219f19b85ae223c35cf12c56d6417bcfb
This commit is contained in:
Vladimir.Koshelev
2025-07-16 12:08:52 +00:00
committed by intellij-monorepo-bot
parent 69e7be4c19
commit 69a0e0e049
@@ -60,7 +60,6 @@ private class PathMatcher(private val parent: Path) : TypeSafeMatcher<Path>(Path
// On Unix, this function resolves symlinks (i.e `~/.venv/python` -> `/usr/bin/python`) which isn't what we want.
EelOsFamily.Posix -> this
}
toRealPath()
}
catch (_: IOException) {
this