()
| 262 | |
| 263 | |
| 264 | def test_zero_stride_error(): |
| 265 | data = [np.uint8([1, 2, 3]), np.uint8([1, 2])] |
| 266 | src = fn.external_source(lambda: data) |
| 267 | pipe = index_pipe(src, lambda x: x[::0]) |
| 268 | with assert_raises(RuntimeError, glob="Step cannot be zero"): |
| 269 | _ = pipe.run() |
| 270 | |
| 271 | |
| 272 | def test_too_many_indices(): |
nothing calls this directly
no test coverage detected