(self)
| 211 | assert result.attrs == original_attrs |
| 212 | |
| 213 | def test_display_style_text(self) -> None: |
| 214 | ds = create_test_dataset_attrs() |
| 215 | with xarray.set_options(display_style="text"): |
| 216 | text = ds._repr_html_() |
| 217 | assert text.startswith("<pre>") |
| 218 | assert "'nested'" in text |
| 219 | assert "<xarray.Dataset>" in text |
| 220 | |
| 221 | def test_display_style_html(self) -> None: |
| 222 | ds = create_test_dataset_attrs() |
nothing calls this directly
no test coverage detected