code: def test_numpy_broadcast_arrays(
      *,
      arrays,
      input_dtypes,
      on_device,
      fn_tree,
      frontend,
      test_flags,
      backend_fw,
  ):
      args = {}
      for i, (array, dtype) in enumerate(zip(arrays, input_dtypes)):
          args[f"x{i}"] = np.asarray(array, dtype=dtype)
      test_flags.num_positional_args = len(args)
      helpers.test_frontend_function(
          input_dtypes=input_dtypes,
          backend_to_test=backend_fw,
          test_flags=test_flags,
          frontend=frontend,
          fn_tree=fn_tree,
          on_device=on_device,
          **args,
      )
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_numpy/test_manipulation_routines/test_changing_number_of_dimensions.py
imports: import numpy
  import ivy_tests.test_ivy.helpers
  from hypothesis import strategies
  from ivy_tests.test_ivy.helpers import handle_frontend_test
  from ivy_tests.test_ivy.test_functional.test_core.test_dtype import dtypes_shared
label_desc: Use image node_id 6 for calling a global function with example usage: test_numpy_broadcast_arrays() without return types