Commit 29f609ed authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

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

parent 042821ae
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment