From 5c729332c1f4b2a204b76a92dadf4aa57f1ce890 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Fri, 8 Aug 2025 09:14:54 -0500 Subject: [PATCH] Use `\n` instead of linesep in not found error message (#15166) https://github.com/astral-sh/uv/pull/14182#discussion_r2262979815 --- python/uv/_find_uv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/uv/_find_uv.py b/python/uv/_find_uv.py index d4a9f5128..8ee5b9355 100644 --- a/python/uv/_find_uv.py +++ b/python/uv/_find_uv.py @@ -48,7 +48,7 @@ def find_uv_bin() -> str: raise UvNotFound( f"Could not find the uv binary in any of the following locations:\n" - f"{os.linesep.join(f' - {target}' for target in seen)}\n" + f"{'\n'.join(f' - {target}' for target in seen)}\n" )