(self)
| 1795 | assert_equal(actual["x"], expected["x"]) |
| 1796 | |
| 1797 | def test_write_groups(self) -> None: |
| 1798 | data1 = create_test_data() |
| 1799 | data2 = data1 * 2 |
| 1800 | with create_tmp_file() as tmp_file: |
| 1801 | self.save(data1, tmp_file, group="data/1") |
| 1802 | self.save(data2, tmp_file, group="data/2", mode="a") |
| 1803 | with self.open(tmp_file, group="data/1") as actual1: |
| 1804 | assert_identical(data1, actual1) |
| 1805 | with self.open(tmp_file, group="data/2") as actual2: |
| 1806 | assert_identical(data2, actual2) |
| 1807 | |
| 1808 | def test_child_group_with_inconsistent_dimensions(self) -> None: |
| 1809 | base = Dataset(coords={"x": [1, 2]}) |
nothing calls this directly
no test coverage detected