code: def test_classes_and_functions_marked_deprecated():
      import imgaug.imgaug as iia
  
      # class
      with warnings.catch_warnings(record=True) as caught_warnings:
          warnings.simplefilter("always")
          _kp = iia.Keypoint(x=1, y=2)
          assert len(caught_warnings) == 1
          assert "is deprecated" in str(caught_warnings[-1].message)
  
      # function
      with warnings.catch_warnings(record=True) as caught_warnings:
          warnings.simplefilter("always")
          _result = iia.compute_geometric_median(np.float32([[0, 0]]))
          assert len(caught_warnings) == 1
          assert "is deprecated" in str(caught_warnings[-1].message)
  
      # no deprecated warning for calls to imgaug.<name>
      with warnings.catch_warnings(record=True) as caught_warnings:
          warnings.simplefilter("always")
          _kp = ia.Keypoint(x=1, y=2)
          assert len(caught_warnings) == 0
  
imports: from __future__ import print_function, division, absolute_import
  import time
  import warnings
  import sys
  import matplotlib
  import numpy
  import six.moves
  import cv2
  import imgaug
  from imgaug import dtypes
  import imgaug.random
  from imgaug.testutils import assertWarns
label_desc: Use image node_id 38 for calling a global function with example usage: test_classes_and_functions_marked_deprecated() without return types