code: def test_array_to_datetime_with_tz_resolution_all_nat(self):
      tz = tzoffset("custom", 3600)
      vals = np.array(["NaT"], dtype=object)
      res = tslib.array_to_datetime_with_tz(
          vals, tz, False, False, creso_infer
      )
      assert res.dtype == "M8[s]"
  
      vals2 = np.array([NaT, NaT], dtype=object)
      res2 = tslib.array_to_datetime_with_tz(
          vals2, tz, False, False, creso_infer
      )
      assert res2.dtype == "M8[s]"
  
imports: from datetime import date, datetime, timedelta, timezone
  from dateutil.tz.tz import tzoffset
  import numpy
  import pytest
  from pandas._libs import NaT, iNaT, tslib
  from pandas._libs.tslibs.dtypes import NpyDatetimeUnit
  from pandas._libs.tslibs.np_datetime import OutOfBoundsDatetime
  from pandas import Timestamp
  import pandas._testing
label_desc: Use image node_id 2 for calling the TestArrayToDatetimeWithTZResolutionInference obj's underlying member method code with example usage: obj.test_array_to_datetime_with_tz_resolution_all_nat() without return types