code: def test_vector_norm(
      *,
      dtype_values_axis,
      kd,
      ord,
      dtype,
      test_flags,
      backend_fw,
      fn_name,
      on_device,
  ):
      x_dtype, x, axis = dtype_values_axis
      # to avoid tuple axis with only one axis as force_int_axis can't generate
      # axis with two axes
      if isinstance(axis, tuple) and len(axis) == 1:
          axis = axis[0]
      helpers.test_function(
          input_dtypes=x_dtype,
          test_flags=test_flags,
          backend_to_test=backend_fw,
          fn_name=fn_name,
          on_device=on_device,
          x=x[0],
          axis=axis,
          keepdims=kd,
          ord=ord,
          dtype=dtype[0],
          atol_=1e-08,
      )
  
      # Specific value test to handle cases when ord is one of {inf, -inf}
  
      with BackendHandler.update_backend(backend_fw) as ivy_backend:
          arr = ivy_backend.array([[1.0, 2.0, 3.0], [-1.0, 2.0, 4.0]])
          arr_normed_inf = ivy_backend.vector_norm(
              arr, axis=0, ord=float("inf")
          )
          arr_normed_min_inf = ivy_backend.vector_norm(
              arr, axis=0, ord=float("-inf")
          )
  
      with BackendHandler.update_backend(
          test_flags.ground_truth_backend
      ) as gt_backend:
          gt_arr_normed_inf = gt_backend.array([1.0, 2.0, 4.0])
          gt_arr_normed_min_inf = gt_backend.array([1.0, 2.0, 3.0])
  
      helpers.assert_all_close(
          arr_normed_inf,
          gt_arr_normed_inf,
          backend=backend_fw,
          ground_truth_backend=test_flags.ground_truth_backend,
      )
      helpers.assert_all_close(
          arr_normed_min_inf,
          gt_arr_normed_min_inf,
          backend=backend_fw,
          ground_truth_backend=test_flags.ground_truth_backend,
      )
  
imports: import sys
  import numpy
  from hypothesis import assume, strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, BackendHandler
  from ivy_tests.test_ivy.helpers.hypothesis_helpers.general_helpers import matrix_is_stable
label_desc: Use image node_id 35 for calling a global function with example usage: test_vector_norm() without return types