mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
bpo-37412: Fix test_os.test_getcwd_long_path() on macOS (GH-14452)
(cherry picked from commit 29f609ed07
)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
This commit is contained in:
parent
68c1c398f3
commit
e3761ca91c
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue