(self)
| 4963 | |
| 4964 | @requires_scipy |
| 4965 | def test_roundtrip_via_bytes(self) -> None: |
| 4966 | original = create_test_data() |
| 4967 | netcdf_bytes = original.to_netcdf() |
| 4968 | roundtrip = load_dataset(netcdf_bytes) |
| 4969 | assert_identical(roundtrip, original) |
| 4970 | |
| 4971 | @pytest.mark.xfail( |
| 4972 | reason="scipy.io.netcdf_file closes files upon garbage collection" |
nothing calls this directly
no test coverage detected