code: def test_numpy_functions(func, func_arguments, request):
      # the problem is that ruff removes the unsued variable,
      # but this test case np_sy and a are considered as unused, though used in the eval string
      exec("np_sy = request.getfixturevalue('numpy_syft_instance')")
      try:
          if func == "where":
              exec(
                  "a = np.array([[3, 4, 5, 2], [6, 7, 2, 6]])"
              )  # this is needed for where test
          result = eval(f"np_sy.{func}({func_arguments})")
  
      except Exception as e:
          assert (
              e == SyftAttributeError
          ), f"Can not evaluate {func}({func_arguments}) with {e}"
          print(e)
      else:
          original_result = eval(f"np.{func}({func_arguments})")
  
          assert np.all(result == original_result)
          assert isinstance(result, ActionObject)
  
imports: import numpy
  import pytest
  from syft import ActionObject
  from syft.service.response import SyftAttributeError
label_desc: Use image node_id 1 for calling a global function with example usage: test_numpy_functions(func, func_arguments, request) without return types