code: def test_array_to_timedelta64_non_object_raises(self):
      # check we raise, not segfault
      values = np.arange(5)
  
      msg = "'values' must have object dtype"
      with pytest.raises(TypeError, match=msg):
          array_to_timedelta64(values)
  
file_path: pandas/pandas/tests/tslibs/test_timedeltas.py
imports: import re
  import numpy
  import pytest
  from pandas._libs.tslibs.timedeltas import array_to_timedelta64, delta_to_nanoseconds, ints_to_pytimedelta
  from pandas import Timedelta, offsets
  import pandas._testing
label_desc: Use image node_id 2 for calling the TestArrayToTimedelta64 obj's underlying member method code with example usage: obj.test_array_to_timedelta64_non_object_raises() without return types