Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ change_cwd
Function
change_cwd
python/pyarrow/tests/util.py:213–219 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
211
212
@contextlib.contextmanager
213
def
change_cwd(path):
214
curdir = os.getcwd()
215
os.chdir(str(path))
216
try
:
217
yield
218
finally:
219
os.chdir(curdir)
220
221
222
@contextlib.contextmanager
Callers
5
_check_dataset_from_path
Function · 0.90
test_construct_from_list_of_files
Function · 0.90
test_open_dataset_partitioned_directory
Function · 0.90
test_open_dataset_filesystem
Function · 0.90
test_write_dataset
Function · 0.90
Calls
no outgoing calls
Tested by
5
_check_dataset_from_path
Function · 0.72
test_construct_from_list_of_files
Function · 0.72
test_open_dataset_partitioned_directory
Function · 0.72
test_open_dataset_filesystem
Function · 0.72
test_write_dataset
Function · 0.72