code: def test_numpy_eigvalsh(
      x,
      UPLO,
      frontend,
      test_flags,
      fn_tree,
      backend_fw,
      on_device,
  ):
      input_dtypes, xs = x
      helpers.test_frontend_function(
          input_dtypes=input_dtypes,
          backend_to_test=backend_fw,
          frontend=frontend,
          test_flags=test_flags,
          fn_tree=fn_tree,
          on_device=on_device,
          rtol=1e-2,
          atol=1e-2,
          a=xs,
          UPLO=UPLO,
      )
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_numpy/test_linalg/test_matrix_eigenvalues.py
imports: import sys
  from hypothesis import strategies
  import numpy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test, assert_all_close, BackendHandler
  from ivy_tests.test_ivy.test_functional.test_core.test_linalg import _get_dtype_and_matrix
label_desc: Use image node_id 4 for calling a global function with example usage: test_numpy_eigvalsh(x, UPLO, frontend, test_flags, fn_tree, backend_fw, on_device) without return types