()
| 3599 | |
| 3600 | |
| 3601 | def test_view_fortran(): |
| 3602 | x = np.asfortranarray(np.arange(64).reshape((8, 8))) |
| 3603 | d = da.from_array(x, chunks=(2, 3)) |
| 3604 | assert_eq(x.T.view("i4").T, d.view("i4", order="F")) |
| 3605 | assert_eq(x.T.view("i2").T, d.view("i2", order="F")) |
| 3606 | |
| 3607 | |
| 3608 | def test_h5py_tokenize(): |