code: def test_simple_new_requires_match(self, unit):
      arr = np.arange(5, dtype=np.int64).view(f"M8[{unit}]")
      dtype = DatetimeTZDtype(unit, "UTC")
  
      dta = DatetimeArray._simple_new(arr, dtype=dtype)
      assert dta.dtype == dtype
  
      wrong = DatetimeTZDtype("ns", "UTC")
      with pytest.raises(AssertionError, match=""):
          DatetimeArray._simple_new(arr, dtype=wrong)
  
imports: from __future__ import annotations
  from datetime import timedelta
  import operator
  import numpy
  import pytest
  from pandas._libs.tslibs import tz_compare
  from pandas.core.dtypes.dtypes import DatetimeTZDtype
  import pandas
  import pandas._testing
  from pandas.core.arrays import DatetimeArray, TimedeltaArray
label_desc: Use image node_id 8 for calling the TestNonNano obj's underlying member method code with example usage: obj.test_simple_new_requires_match(unit) without return types