code: def test_too_many_arguments_method_forwarding():
      # Not directly related to the standard argument parsing, but we sometimes
      # forward methods to Python: arr.mean() calls np._core._methods._mean()
      # This adds code coverage for this `npy_forward_method`.
      arr = np.arange(3)
      args = range(1000)
      with pytest.raises(TypeError):
          arr.mean(*args)
  
file_path: numpy/numpy/_core/tests/test_argparse.py
imports: import pytest
  import numpy
  from numpy._core._multiarray_tests import argparse_example_function
label_desc: Use image node_id 6 for calling a global function with example usage: test_too_many_arguments_method_forwarding() without return types