code: def test_repr_matches_pydatetime_tz_dateutil(self):
      utc = dateutil.tz.tzutc()
  
      dt_date = datetime(2013, 1, 2, tzinfo=utc)
      assert str(dt_date) == str(Timestamp(dt_date))
  
      dt_datetime = datetime(2013, 1, 2, 12, 1, 3, tzinfo=utc)
      assert str(dt_datetime) == str(Timestamp(dt_datetime))
  
      dt_datetime_us = datetime(2013, 1, 2, 12, 1, 3, 45, tzinfo=utc)
      assert str(dt_datetime_us) == str(Timestamp(dt_datetime_us))
  
file_path: pandas/pandas/tests/scalar/timestamp/test_formats.py
imports: from datetime import datetime
  import pprint
  import dateutil.tz
  import pytest
  import pytz
  from pandas import Timestamp
label_desc: Use image node_id 8 for calling the TestTimestampRendering obj's underlying member method code with example usage: obj.test_repr_matches_pydatetime_tz_dateutil() without return types