()
| 3112 | |
| 3113 | |
| 3114 | def test_asarray_chunks(): |
| 3115 | with dask.config.set({"array.chunk-size": "100 B"}): |
| 3116 | x = np.ones(1000) |
| 3117 | d = da.asarray(x) |
| 3118 | assert d.npartitions > 1 |
| 3119 | |
| 3120 | |
| 3121 | @pytest.mark.filterwarnings("ignore:the matrix subclass") |