code: def test_numpy_fill_diagonal(
      dtype_x_axis,
      wrap,
      val,
      on_device,
      fn_tree,
      frontend,
      test_flags,
      backend_fw,
  ):
      input_dtype, x = dtype_x_axis
      np_frontend_helpers.test_frontend_function(
          input_dtypes=input_dtype,
          on_device=on_device,
          backend_to_test=backend_fw,
          frontend=frontend,
          test_flags=test_flags,
          fn_tree=fn_tree,
          a=x[0],
          val=val,
          wrap=wrap,
      )
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_numpy/test_indexing_routines/test_inserting_data_into_arrays.py
imports: from hypothesis import strategies
  import numpy
  import ivy_tests.test_ivy.helpers
  import ivy_tests.test_ivy.test_frontends.test_numpy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test, BackendHandler
  import ivy.functional.frontends.numpy
label_desc: Use image node_id 4 for calling a global function with example usage: test_numpy_fill_diagonal(dtype_x_axis, wrap, val, on_device, fn_tree, frontend, test_flags, backend_fw) without return types