code: def test_datetime_deserialize_value():
      tz = pytz.FixedOffset(42)
      v = dict(
          year=2002,
          month=1,  # Months are 0-based indices in JS
          date=20,
          hours=13,
          minutes=37,
          seconds=42,
          milliseconds=7,
      )
      assert datetime_from_json(v, None) == datetime.datetime(
          2002, 2, 20, 14, 19, 42, 7000, tz
      )
  
file_path: catboost/contrib/python/ipywidgets/py3/ipywidgets/widgets/tests/test_datetime_serializers.py
imports: import pytest
  import datetime
  import pytz
  from traitlets import TraitError
  from ..trait_types import time_to_json, time_from_json, datetime_to_json, datetime_from_json
label_desc: Use image node_id 9 for calling a global function with example usage: test_datetime_deserialize_value() without return types