(self)
| 815 | |
| 816 | @requires_netcdf |
| 817 | def test_roundtrip_example_1_netcdf(self) -> None: |
| 818 | with open_example_dataset("example_1.nc") as expected: |
| 819 | with self.roundtrip(expected) as actual: |
| 820 | # we allow the attributes to differ since that |
| 821 | # will depend on the encoding used. For example, |
| 822 | # without CF encoding 'actual' will end up with |
| 823 | # a dtype attribute. |
| 824 | assert_equal(expected, actual) |
| 825 | |
| 826 | def test_roundtrip_coordinates(self) -> None: |
| 827 | original = Dataset( |
nothing calls this directly
no test coverage detected