code: def test_array_strptime_resolution_mixed(self, tz):
      dt = datetime(2016, 1, 2, 3, 4, 5, 678900, tzinfo=tz)
  
      ts = Timestamp(dt).as_unit("ns")
  
      arr = np.array([dt, ts], dtype=object)
      expected = np.array(
          [Timestamp(dt).as_unit("ns").asm8, ts.asm8],
          dtype="M8[ns]",
      )
  
      fmt = "%Y-%m-%d %H:%M:%S"
      res, _ = array_strptime(
          arr, fmt=fmt, utc=False, creso=creso_infer
      )
      tm.assert_numpy_array_equal(res, expected)
  
      fmt = "ISO8601"
      res, _ = array_strptime(
          arr, fmt=fmt, utc=False, creso=creso_infer
      )
      tm.assert_numpy_array_equal(res, expected)
  
file_path: pandas/pandas/tests/tslibs/test_strptime.py
imports: from datetime import datetime, timezone
  import numpy
  import pytest
  from pandas._libs.tslibs.dtypes import NpyDatetimeUnit
  from pandas._libs.tslibs.strptime import array_strptime
  from pandas import NaT, Timestamp
  import pandas._testing
label_desc: Use image node_id 3 for calling the TestArrayStrptimeResolutionInference obj's underlying member method code with example usage: obj.test_array_strptime_resolution_mixed(tz) without return types