code: def check_nuisance_columns_warning():
      if not PANDAS_GE_150:
          with warnings.catch_warnings(record=True):
              warnings.filterwarnings(
                  "ignore",
                  "Dropping of nuisance columns",
                  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 11 for calling a global function with example usage: check_nuisance_columns_warning() without return types