mirror of https://github.com/python/cpython.git
getpath: fix warning typo (#126978)
This commit is contained in:
parent
4cd10762b0
commit
0063f5f314
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue