(msg: str)
| 45 | |
| 46 | def normexe(orig: str, *, env: Mapping[str, str] | None = None) -> str: |
| 47 | def _error(msg: str) -> NoReturn: |
| 48 | raise ExecutableNotFoundError(f'Executable `{orig}` {msg}') |
| 49 | |
| 50 | if os.sep not in orig and (not os.altsep or os.altsep not in orig): |
| 51 | exe = find_executable(orig, env=env) |
no test coverage detected