code: def test_ndarray_arange():
      assert_ndarrays_eq(
          (hl.nd.arange(40), np.arange(40)),
          (hl.nd.arange(5, 50), np.arange(5, 50)),
          (hl.nd.arange(2, 47, 13), np.arange(2, 47, 13)),
      )
  
      with pytest.raises(HailUserError) as exc:
          hl.eval(hl.nd.arange(5, 20, 0))
      assert "Array range cannot have step size 0" in str(exc.value)
  
imports: import math
  import numpy
  import re
  from ..helpers import *
  import pytest
  from hail.utils.java import FatalError, HailUserError
label_desc: Use image node_id 19 for calling a global function with example usage: test_ndarray_arange() without return types