Skip to content

Commit 4a13369

Browse files
itamaroclaude
andcommitted
Fix syntax error and spacing from applied review suggestions
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A93JzpSGH27i6PNX8re4YV
1 parent 3efc8e8 commit 4a13369

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎Lib/test/test_getpath.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ def test_venv_separate_exec_prefix_with_misleading_home_posix(self):
577577
)
578578
actual = getpath(ns, expected)
579579
self.assertEqual(expected, actual)
580+
580581
def test_venv_non_installed_zip_path_posix(self):
581582
"Test a venv created from non-installed python has correct zip path."""
582583
ns = MockPosixNamespace(

‎Modules/getpath.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ def search_up(prefix, *landmarks, test=isfile):
639639
# stdlib was found from 'home'.
640640
exec_prefix = search_up(base_executable_dir, PLATSTDLIB_LANDMARK, test=isdir)
641641
if not exec_prefix and executable_dir:
642-
exec_prefix = search_up(executable_dir, PLATSTDLIB_LANDMARK, test=isdir
642+
exec_prefix = search_up(executable_dir, PLATSTDLIB_LANDMARK, test=isdir)
643643
if not exec_prefix and EXEC_PREFIX:
644644
exec_prefix = EXEC_PREFIX
645645
if not exec_prefix or not isdir(joinpath(exec_prefix, PLATSTDLIB_LANDMARK)):

0 commit comments

Comments
 (0)