code: def check_groupby_axis_deprecation():
      if PANDAS_GE_210:
          with warnings.catch_warnings():
              warnings.filterwarnings(
                  "ignore",
                  ".*Call without passing 'axis' instead|.*Operate on the un-grouped DataFrame instead",
                  FutureWarning,
              )
              yield
      else:
          yield
  
imports: from __future__ import annotations
  import contextlib
  import string
  import warnings
  import numpy
  import pandas
  from packaging.version import Version
  import pandas.testing
label_desc: Use image node_id 12 for calling a global function with example usage: check_groupby_axis_deprecation() without return types