()
| 1961 | |
| 1962 | |
| 1963 | def test_repr(): |
| 1964 | d = da.ones((4, 4), chunks=(2, 2)) |
| 1965 | assert key_split(d.name) in repr(d) |
| 1966 | assert str(d.shape) in repr(d) |
| 1967 | assert str(d.dtype) in repr(d) |
| 1968 | d = da.ones((4000, 4), chunks=(4, 2)) |
| 1969 | assert len(str(d)) < 1000 |
| 1970 | |
| 1971 | |
| 1972 | def test_repr_meta(): |