code: def test_big_indices(self):
      # ravel_multi_index for big indices (issue #7546)
      if np.intp == np.int64:
          arr = (
              [1, 29],
              [3, 5],
              [3, 117],
              [19, 2],
              [2379, 1284],
              [2, 2],
              [0, 1],
          )
          assert_equal(
              np.ravel_multi_index(arr, (41, 7, 120, 36, 2706, 8, 6)),
              [5627771580, 117259570957],
          )
  
      # test unravel_index for big indices (issue #9538)
      assert_raises(
          ValueError, np.unravel_index, 1, (2**32 - 1, 2**31 + 1)
      )
  
      # test overflow checking for too big array (issue #7546)
      dummy_arr = ([0], [0])
      half_max = np.iinfo(np.intp).max // 2
      assert_equal(np.ravel_multi_index(dummy_arr, (half_max, 2)), [0])
      assert_raises(
          ValueError, np.ravel_multi_index, dummy_arr, (half_max + 1, 2)
      )
      assert_equal(
          np.ravel_multi_index(dummy_arr, (half_max, 2), order="F"), [0]
      )
      assert_raises(
          ValueError,
          np.ravel_multi_index,
          dummy_arr,
          (half_max + 1, 2),
          order="F",
      )
  
imports: import pytest
  import numpy
  from numpy.testing import assert_, assert_equal, assert_array_equal, assert_almost_equal, assert_array_almost_equal, assert_raises, assert_raises_regex
  from numpy.lib.index_tricks import mgrid, ogrid, ndenumerate, fill_diagonal, diag_indices, diag_indices_from, index_exp, ndindex, r_, s_, ix_
label_desc: Use image node_id 3 for calling the TestRavelUnravelIndex obj's underlying member method code with example usage: obj.test_big_indices() without return types