(self, create_combined_ids, concat_dim, kwargs)
| 307 | "concat_dim, kwargs", [("dim1", {}), ("new_dim", {"data_vars": "all"})] |
| 308 | ) |
| 309 | def test_concat_once(self, create_combined_ids, concat_dim, kwargs): |
| 310 | shape = (2,) |
| 311 | combined_ids = create_combined_ids(shape) |
| 312 | ds = create_test_data |
| 313 | result = _combine_all_along_first_dim( |
| 314 | combined_ids, |
| 315 | dim=concat_dim, |
| 316 | data_vars="all", |
| 317 | coords="different", |
| 318 | compat="no_conflicts", |
| 319 | fill_value=dtypes.NA, |
| 320 | join="outer", |
| 321 | combine_attrs="drop", |
| 322 | ) |
| 323 | |
| 324 | expected_ds = concat([ds(0), ds(1)], dim=concat_dim, **kwargs) |
| 325 | assert_combined_tile_ids_equal(result, {(): expected_ds}) |
| 326 | |
| 327 | def test_concat_only_first_dim(self, create_combined_ids): |
| 328 | shape = (2, 3) |
nothing calls this directly
no test coverage detected