code: def test_zero_stride_error():
      data = [np.uint8([1, 2, 3]), np.uint8([1, 2])]
      src = fn.external_source(lambda: data)
      pipe = index_pipe(src, lambda x: x[::0])
      with assert_raises(RuntimeError, glob="Step cannot be zero"):
          pipe.build()
          _ = pipe.run()
  
imports: from nvidia import dali
  from nvidia.dali import fn
  import numpy
  from nvidia.dali.pipeline import Pipeline
  from nose_utils import assert_raises
label_desc: Use image node_id 16 for calling a global function with example usage: test_zero_stride_error() without return types