code: def test_nat_doc_strings(compare):
      # see gh-17327
      #
      # The docstrings for overlapping methods should match.
      klass, method = compare
      klass_doc = getattr(klass, method).__doc__
  
      if klass == Timestamp and method == "isoformat":
          pytest.skip(
              "Ignore differences with Timestamp.isoformat() as they're intentional"
          )
  
      if method == "to_numpy":
          # GH#44460 can return either dt64 or td64 depending on dtype,
          #  different docstring is intentional
          pytest.skip(
              f"different docstring for {method} is intentional"
          )
  
      nat_doc = getattr(NaT, method).__doc__
      assert klass_doc == nat_doc
  
imports: from datetime import datetime, timedelta
  import operator
  import numpy
  import pytest
  import pytz
  from pandas._libs.tslibs import iNaT
  from pandas.compat.numpy import np_version_gte1p24p3
  from pandas import DatetimeIndex, DatetimeTZDtype, Index, NaT, Period, Series, Timedelta, TimedeltaIndex, Timestamp, isna, offsets
  import pandas._testing
  from pandas.core import roperator
  from pandas.core.arrays import DatetimeArray, PeriodArray, TimedeltaArray
label_desc: Use image node_id 12 for calling a global function with example usage: test_nat_doc_strings(compare) without return types