()
| 781 | |
| 782 | |
| 783 | def test_blockwise_numpy_arg(): |
| 784 | x = da.arange(10, chunks=(5,)) |
| 785 | y = np.arange(1000) |
| 786 | |
| 787 | x = x.map_blocks(lambda x, y: x, 1.0) |
| 788 | x = x.map_blocks(lambda x, y: x, "abc") |
| 789 | x = x.map_blocks(lambda x, y: x, y) |
| 790 | x = x.map_blocks(lambda x, y: x, "abc") |
| 791 | x = x.map_blocks(lambda x, y: x, 1.0) |
| 792 | x = x.map_blocks(lambda x, y, z: x, "abc", np.array(["a", "b"], dtype=object)) |
| 793 | assert_eq(x, np.arange(10)) |
| 794 | |
| 795 | |
| 796 | def test_bag_array_conversion(): |
nothing calls this directly
no test coverage detected