summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-04-28 16:24:32 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-04-28 17:36:54 +0200
commita664a6dc7303e69802a92bc46a38204e4ddf4a6a (patch)
tree3b0a48785eca1def2318de4bc0e2a2ce64dccadf /tests
parent8d27bfe5a9ac7bfd3147ef514e364e0990d54267 (diff)
Avoid chdir()ing in sync_deps()
Temporarily changing the working directory is iffy if threads are involved, since other code will see the change. Seems like a generally rude thing for a random library function to do. dir_fd (open() relative to directory) is another option, but it's Python 3 only, only available on the low-level os.open() interface, and might not be universally supported.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions