code: def test_datetime_tzinfo():
      tz = pytz.timezone("Australia/Sydney")
      t = datetime.datetime(2002, 2, 20, 13, 37, 42, 7, tzinfo=tz)
      with pytest.raises(TraitError):
          w = NaiveDatetimePicker(value=t)
  
file_path: catboost/contrib/python/ipywidgets/py3/ipywidgets/widgets/tests/test_widget_naive_datetime.py
imports: import pytest
  import datetime
  import pytz
  from traitlets import TraitError
  from ..widget_datetime import NaiveDatetimePicker
label_desc: Use image node_id 10 for calling a global function with example usage: test_datetime_tzinfo() without return types