MCPcopy Index your code
hub / github.com/pydata/xarray / temp_dir

Method temp_dir

xarray/tests/test_backends.py:4458–4461  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4456class TestZarrWriteEmpty(TestZarrDirectoryStore):
4457 @contextlib.contextmanager
4458 def temp_dir(self) -> Iterator[tuple[str, str]]:
4459 with tempfile.TemporaryDirectory() as d:
4460 store = os.path.join(d, "test.zarr")
4461 yield d, store
4462
4463 @contextlib.contextmanager
4464 def roundtrip_dir(

Callers 2

test_write_emptyMethod · 0.95

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected