MCPcopy
hub / github.com/pydata/xarray / cls

Method cls

xarray/tests/test_variable.py:2563–2564  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

2561
2562class TestIndexVariable(VariableSubclassobjects):
2563 def cls(self, *args, **kwargs) -> IndexVariable:
2564 return IndexVariable(*args, **kwargs)
2565
2566 def test_init(self):
2567 with pytest.raises(ValueError, match=r"must be 1-dimensional"):

Callers

nothing calls this directly

Calls 1

IndexVariableClass · 0.90

Tested by

no test coverage detected