code: def test_pd_dateoffset_to_timedelta_math():
      base = pd.to_datetime("2020-01-31")
      add = _check_timedelta(pd.DateOffset(months=2))
      res = base + add
      assert res == pd.to_datetime("2020-03-31")
  
      base_2 = pd.to_datetime("2020-01-31")
      add_2 = _check_timedelta(pd.DateOffset(months=2, days=3))
      res_2 = base_2 + add_2
      assert res_2 == pd.to_datetime("2020-04-03")
  
      base_3 = pd.to_datetime("2019-09-20")
      sub = _check_timedelta(pd.offsets.BDay(10))
      res_3 = base_3 - sub
      assert res_3 == pd.to_datetime("2019-09-06")
  
imports: import pandas
  import pytest
  from dateutil.relativedelta import relativedelta
  from featuretools.entityset import Timedelta
  from featuretools.feature_base import Feature
  from featuretools.primitives import Count
  from featuretools.tests.testing_utils import to_pandas
  from featuretools.utils.wrangle import _check_timedelta
label_desc: Use image node_id 15 for calling a global function with example usage: test_pd_dateoffset_to_timedelta_math() without return types