code: def suppress_known_deprecation():
      with warnings.catch_warnings(record=True) as ctx:
          warnings.filterwarnings(
              action="default",
              category=DeprecationWarning,
              message="distutils Version classes are deprecated.",
          )
          yield ctx
  
imports: import re
  import warnings
  import contextlib
label_desc: Use image node_id 1 for calling a global function with example usage: suppress_known_deprecation() without return types