code: def test_numeric_to_timedelta(data, dtype, timedelta_dtype):
      sr = cudf.Series(data, dtype=dtype)
      psr = sr.to_pandas()
  
      actual = sr.astype(timedelta_dtype)
      expected = pd.Series(psr.to_numpy().astype(timedelta_dtype))
  
      assert_eq(expected, actual)
  
imports: import datetime
  import operator
  import cupy
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.testing import _utils
  from cudf.testing._utils import assert_eq, assert_exceptions_equal
label_desc: Use image node_id 27 for calling a global function with example usage: test_numeric_to_timedelta(data, dtype, timedelta_dtype) without return types