diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-06-28 17:39:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-28 17:39:48 (GMT) |
commit | 29f609ed07aa7856741ff8b8b8b050369d0faf81 (patch) | |
tree | 6be5015294f6e4418bcf689355e586f858cd7a6c /Lib/test/test_os.py | |
parent | 042821ae3cf537e01963c9ec85d1a454d921e826 (diff) | |
download | cpython-29f609ed07aa7856741ff8b8b8b050369d0faf81.zip cpython-29f609ed07aa7856741ff8b8b8b050369d0faf81.tar.gz cpython-29f609ed07aa7856741ff8b8b8b050369d0faf81.tar.bz2 |
bpo-37412: Fix test_os.test_getcwd_long_path() on macOS (GH-14452)
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r-- | Lib/test/test_os.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 2e73906..784000a 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -106,8 +106,7 @@ class MiscTests(unittest.TestCase): dirname = dirname + ('a' * (dirlen - len(dirname))) with tempfile.TemporaryDirectory() as tmpdir: - with support.change_cwd(tmpdir): - path = tmpdir + with support.change_cwd(tmpdir) as path: expected = path while True: |