code: def test_nan(self):
      proj = ccrs.OSNI(approx=True)
      res = proj.transform_point(
          0.0, float("nan"), src_crs=self.src_crs
      )
      assert np.all(np.isnan(res))
      res = proj.transform_point(
          float("nan"), 0.0, src_crs=self.src_crs
      )
      assert np.all(np.isnan(res))
  
file_path: cartopy/lib/cartopy/tests/crs/test_transverse_mercator.py
imports: import numpy
  import pytest
  import cartopy.crs
label_desc: Use image node_id 3 for calling the TestOSNI obj's underlying member method code with example usage: obj.test_nan() without return types