MCPcopy Create free account
hub / github.com/pydata/xarray / test_create_variables

Method test_create_variables

xarray/tests/test_indexes.py:65–67  ·  view source on GitHub ↗
(self, index)

Source from the content-addressed store, hash-verified

63 index.unstack()
64
65 def test_create_variables(self, index) -> None:
66 assert index.create_variables() == {}
67 assert index.create_variables({"x": "var"}) == {"x": "var"}
68
69 def test_to_pandas_index(self, index) -> None:
70 with pytest.raises(TypeError):

Callers

nothing calls this directly

Calls 1

create_variablesMethod · 0.45

Tested by

no test coverage detected