code: def test_to_timedelta_oob_non_nano(self):
      arr = np.array([pd.NaT._value + 1], dtype="timedelta64[m]")
  
      msg = (
          "Cannot convert -9223372036854775807 minutes to "
          r"timedelta64\[s\] without overflow"
      )
      with pytest.raises(OutOfBoundsTimedelta, match=msg):
          to_timedelta(arr)
  
      with pytest.raises(OutOfBoundsTimedelta, match=msg):
          TimedeltaIndex(arr)
  
      with pytest.raises(OutOfBoundsTimedelta, match=msg):
          TimedeltaArray._from_sequence(arr, dtype="m8[s]")
  
imports: from datetime import time, timedelta
  import numpy
  import pytest
  from pandas.compat import IS64
  from pandas.errors import OutOfBoundsTimedelta
  import pandas
  from pandas import Series, TimedeltaIndex, isna, to_timedelta
  import pandas._testing
  from pandas.core.arrays import TimedeltaArray
label_desc: Use image node_id 8 for calling the TestTimedeltas obj's underlying member method code with example usage: obj.test_to_timedelta_oob_non_nano() without return types