code: def test_fill_diagonal(
      *,
      dt_a,
      v,
      v_is_array_like,
      wrap,
      test_flags,
      backend_fw,
      fn_name,
      on_device,
  ):
      dt, a = dt_a
      if v_is_array_like:
          v = a[1]
      helpers.test_function(
          input_dtypes=dt,
          test_flags=test_flags,
          on_device=on_device,
          backend_to_test=backend_fw,
          fn_name=fn_name,
          a=a[0],
          v=v,
          wrap=wrap,
      )
  
imports: from hypothesis import strategies, assume
  import hypothesis.extra.numpy
  import numpy
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, create_concatenable_arrays_dtypes
  from ivy.functional.ivy.experimental.manipulation import _check_bounds
  from ivy_tests.test_ivy.test_functional.test_core.test_manipulation import _get_splits
label_desc: Use image node_id 29 for calling a global function with example usage: test_fill_diagonal() without return types