code: def test_serialization():
      times = [
          Timedelta(1, unit="w"),
          Timedelta(3, unit="d"),
          Timedelta(5, unit="o"),
      ]
  
      dictionaries = [
          {"value": 1, "unit": "w"},
          {"value": 3, "unit": "d"},
          {"value": 5, "unit": "o"},
      ]
  
      for td, expected in zip(times, dictionaries):
          assert expected == td.get_arguments()
  
      for expected, dictionary in zip(times, dictionaries):
          assert expected == Timedelta.from_dictionary(dictionary)
  
      # Test multiple temporal parameters separately since it is not deterministic
      mult_time = {"years": 4, "months": 3, "days": 2}
      mult_td = Timedelta(mult_time)
  
      # Serialize
      td_units = mult_td.get_arguments()["unit"]
      td_values = mult_td.get_arguments()["value"]
      arg_list = list(zip(td_values, td_units))
  
      assert (4, "Y") in arg_list
      assert (3, "mo") in arg_list
      assert (2, "d") in arg_list
  
      # Deserialize
      assert mult_td == Timedelta.from_dictionary(
          {"value": [4, 3, 2], "unit": ["Y", "mo", "d"]},
      )
  
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 11 for calling a global function with example usage: test_serialization() without return types