Skip to content

Commit 2387ca6

Browse files
committed
[GR-43407] Use mkdtemp to create temporary directories for temp_cwd
1 parent 2ea3e69 commit 2387ca6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graalpython/lib-python/3/test/support/os_helper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,8 @@ def change_cwd(path, quiet=False):
430430

431431

432432
@contextlib.contextmanager
433-
def temp_cwd(name='tempcwd', quiet=False):
433+
# def temp_cwd(name='tempcwd', quiet=False): # GR-43407 Truffle change - we prefer to create unique tempdir names
434+
def temp_cwd(name=None, quiet=False):
434435
"""
435436
Context manager that temporarily creates and changes the CWD.
436437

0 commit comments

Comments
 (0)