code: def test_replace_non_nano(self):
      ts = Timestamp._from_value_and_reso(
          91514880000000000, NpyDatetimeUnit.NPY_FR_us.value, None
      )
      assert ts.to_pydatetime() == datetime(4869, 12, 28)
  
      result = ts.replace(year=4900)
      assert result._creso == ts._creso
      assert result.to_pydatetime() == datetime(4900, 12, 28)
  
imports: from datetime import datetime
  from dateutil.tz import gettz
  import numpy
  import pytest
  import pytz
  from pandas._libs.tslibs import OutOfBoundsDatetime, Timestamp, conversion
  from pandas._libs.tslibs.dtypes import NpyDatetimeUnit
  import pandas.util._test_decorators
  import pandas._testing
label_desc: Use image node_id 2 for calling the TestTimestampReplace obj's underlying member method code with example usage: obj.test_replace_non_nano() without return types