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

Method test_concat_along_existing_dim

xarray/tests/test_combine.py:1260–1267  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1258
1259class TestNewDefaults:
1260 def test_concat_along_existing_dim(self):
1261 concat_dim = "dim1"
1262 ds = create_test_data
1263 with set_options(use_new_combine_kwarg_defaults=False):
1264 old = concat([ds(0), ds(1)], dim=concat_dim)
1265 with set_options(use_new_combine_kwarg_defaults=True):
1266 new = concat([ds(0), ds(1)], dim=concat_dim)
1267 assert_identical(old, new)
1268
1269 def test_concat_along_new_dim(self):
1270 concat_dim = "new_dim"

Callers

nothing calls this directly

Calls 4

set_optionsClass · 0.90
concatFunction · 0.90
assert_identicalFunction · 0.90
dsFunction · 0.70

Tested by

no test coverage detected