mirror of https://github.com/python/cpython
bpo-37412: Fix test_os.test_getcwd_long_path() on macOS (GH-14452)
This commit is contained in:
parent
042821ae3c
commit
29f609ed07
|
@ -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…
Reference in New Issue