code: def test_transform_point_no_warning():
      # Make sure we aren't warning on single-point numpy arrays
      # see https://github.com/SciTools/cartopy/pull/2194
      p = ccrs.PlateCarree()
      p2 = ccrs.Mercator()
      with warnings.catch_warnings():
          warnings.simplefilter("error")
          p2.transform_point(1, 2, p)
  
imports: import copy
  from io import BytesIO
  import os
  from pathlib import Path
  import pickle
  import warnings
  import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  from numpy.testing import assert_array_almost_equal
  import pyproj
  import pytest
  import shapely.geometry
  import cartopy.crs
label_desc: Use image node_id 9 for calling a global function with example usage: test_transform_point_no_warning() without return types