bpo-37412: Fix test_os.test_getcwd_long_path() on macOS (GH-14452)

(cherry picked from commit 29f609ed07aa7856741ff8b8b8b050369d0faf81)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 file changed