()
| 3589 | |
| 3590 | |
| 3591 | def test_view_fortran(): |
| 3592 | x = np.asfortranarray(np.arange(64).reshape((8, 8))) |
| 3593 | d = da.from_array(x, chunks=(2, 3)) |
| 3594 | assert_eq(x.T.view("i4").T, d.view("i4", order="F")) |
| 3595 | assert_eq(x.T.view("i2").T, d.view("i2", order="F")) |
| 3596 | |
| 3597 | |
| 3598 | def test_h5py_tokenize(): |