mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 15:27:33 +00:00
The tests assumed a POSIX host, but pytest also runs on windows-latest. Both path flavours are now built with PurePosixPath and PureWindowsPath, which work on either host, the bin/Scripts layout is asserted against the host, and the executable bit is only checked where it exists. Also drops the trailing separator from PATH when PATH is unset, since an empty entry makes Unix search the working directory for executables.