(self)
| 762 | assert not ds2["y"]._in_memory |
| 763 | |
| 764 | def test_dataarray_getattr(self): |
| 765 | # ipython/jupyter does a long list of getattr() calls to when trying to |
| 766 | # represent an object. |
| 767 | # Make sure we're not accidentally computing dask variables. |
| 768 | data = build_dask_array("data") |
| 769 | nonindex_coord = build_dask_array("coord") |
| 770 | a = DataArray(data, dims=["x"], coords={"y": ("x", nonindex_coord)}) |
| 771 | with suppress(AttributeError): |
| 772 | _ = a.NOTEXIST |
| 773 | assert kernel_call_count == 0 |
| 774 | |
| 775 | def test_dataset_getattr(self): |
| 776 | # Test that pickling/unpickling converts the dask backend |
nothing calls this directly
no test coverage detected