getpath: fix warning typo (#126978)

This commit is contained in:
Filipe Laíns 🇵🇸 2024-11-18 23:50:01 +00:00 committed by GitHub
parent 4cd10762b0
commit 0063f5f314
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ def search_up(prefix, *landmarks, test=isfile):
# Only warn if the file actually exists and was unresolvable
# Otherwise users who specify a fake executable may get spurious warnings.
if isfile(real_executable):
warn(f'Failed to find real location of {base_executable}')
warn(f'Failed to find real location of {real_executable}')
if not executable_dir and os_name == 'darwin' and library:
# QUIRK: macOS checks adjacent to its library early