bpo-32030: Fix calculate_path() on macOS (#4526)

1 file changed