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)))
|
dirname = dirname + ('a' * (dirlen - len(dirname)))
|
||||||
|
|
||||||
with tempfile.TemporaryDirectory() as tmpdir:
|
with tempfile.TemporaryDirectory() as tmpdir:
|
||||||
with support.change_cwd(tmpdir):
|
with support.change_cwd(tmpdir) as path:
|
||||||
path = tmpdir
|
|
||||||
expected = path
|
expected = path
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in New Issue