code: def test_bounds_check_large(self):
      arr = np.array([1, 2])
  
      msg = "indices are out-of-bounds"
      with pytest.raises(IndexError, match=msg):
          algos.take(arr, [2, 3], allow_fill=True)
  
      msg = "index 2 is out of bounds for( axis 0 with)? size 2"
      with pytest.raises(IndexError, match=msg):
          algos.take(arr, [2, 3], allow_fill=False)
  
imports: from datetime import datetime
  import numpy
  import pytest
  from pandas._libs import iNaT
  import pandas._testing
  import pandas.core.algorithms
label_desc: Use image node_id 1 for calling the TestExtensionTake obj's underlying member method code with example usage: obj.test_bounds_check_large() without return types