There was an error while loading. Please reload this page.
1 parent 3260ec0 commit 642ae4aCopy full SHA for 642ae4a
1 file changed
src/tox/tox_env/api.py
@@ -409,9 +409,7 @@ def _paths(self) -> list[Path]:
409
@_paths.setter
410
def _paths(self, value: list[Path]) -> None:
411
self._paths_private = value
412
- # Invalidate the cached environment variables so they are rebuilt
413
- # on next access. This ensures that set_env PATH modifications
414
- # (e.g., PATH = {env:PATH}:/test) are not overwritten.
+ # Invalidate cached env vars so they rebuild on next access, preserving set_env PATH modifications.
415
self._env_vars = None
416
417
@property
0 commit comments