code: def test_tick_delta_overflow():
      # GH#55503 raise OutOfBoundsTimedelta, not OverflowError
      tick = offsets.Day(10**9)
      msg = "Cannot cast 1000000000 days 00:00:00 to unit='ns' without overflow"
      depr_msg = "Day.delta is deprecated"
      with pytest.raises(OutOfBoundsTimedelta, match=msg):
          with tm.assert_produces_warning(
              FutureWarning, match=depr_msg
          ):
              tick.delta
  
imports: from datetime import datetime, timedelta
  from hypothesis import assume, example, given
  import numpy
  import pytest
  from pandas._libs.tslibs.offsets import delta_to_tick
  from pandas.errors import OutOfBoundsTimedelta
  from pandas import Timedelta, Timestamp
  import pandas._testing
  from pandas._testing._hypothesis import INT_NEG_999_TO_POS_999
  from pandas.tests.tseries.offsets.common import assert_offset_equal
  from pandas.tseries import offsets
  from pandas.tseries.offsets import Hour, Micro, Milli, Minute, Nano, Second
label_desc: Use image node_id 14 for calling a global function with example usage: test_tick_delta_overflow() without return types