code: def test_round_nat(klass, method, freq):
      # see gh-14940
      ts = klass("nat")
  
      round_method = getattr(ts, method)
      assert round_method(freq) is ts
  
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 4 for calling a global function with example usage: test_round_nat(klass, method, freq) without return types