code: def test_ymd_hms_micro(dt, date_fmt, time_fmt, tzoffset, precision):
      # Truncate the microseconds to the desired precision for the representation
      dt = dt.replace(
          microsecond=int(round(dt.microsecond, precision - 6))
      )
  
      _isoparse_date_and_time(
          dt, date_fmt, time_fmt, tzoffset, precision
      )
  
imports: from __future__ import unicode_literals
  from datetime import datetime, timedelta, date, time
  import itertools
  from dateutil import tz
  from dateutil.tz import UTC
  from dateutil.parser import isoparser, isoparse
  import pytest
  import six
label_desc: Use image node_id 9 for calling a global function with example usage: test_ymd_hms_micro(dt, date_fmt, time_fmt, tzoffset, precision) without return types