code: def test_repeat(
      *,
      dtype_value,
      axis,
      repeat,
      test_flags,
      backend_fw,
      fn_name,
      on_device,
  ):
      value_dtype, value = dtype_value
  
      if not isinstance(repeat, int):
          repeat_dtype, repeat_list = repeat
          repeat = repeat_list[0]
          value_dtype += repeat_dtype
  
      if not isinstance(axis, int) and axis is not None:
          axis = axis[0]
  
      helpers.test_function(
          input_dtypes=value_dtype,
          test_flags=test_flags,
          backend_to_test=backend_fw,
          fn_name=fn_name,
          on_device=on_device,
          x=value[0],
          repeats=repeat,
          axis=axis,
          xs_grad_idxs=[[0, 0]],
      )
  
imports: import numpy
  from hypothesis import strategies, assume
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test
label_desc: Use image node_id 16 for calling a global function with example usage: test_repeat() without return types