Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ close
Method
close
xarray/tests/test_datatree.py:2549–2552 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2547
self.closed = False
2548
2549
def
close(self):
2550
if
self.closed:
2551
raise
RuntimeError(
"already closed"
)
2552
self.closed = True
2553
2554
2555
@pytest.fixture
Callers
15
figure_context
Function · 0.45
setup
Method · 0.45
setUp
Method · 0.45
test_normalize_token_with_backend
Function · 0.45
test_info
Method · 0.45
test_lazy_load_duck_array
Method · 0.45
_check_compression_codec_available
Function · 0.45
test_refresh_from_disk
Method · 0.45
test_open_subgroup
Method · 0.45
test_file_remains_open
Method · 0.45
test_roundtrip_via_file_object
Method · 0.45
test_open_mfdataset_dataset_combine_attrs
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected