class_docstr: Re-usable contextmanager for contextually managing warnings.
class_docstr_tok: ["Re-usable","contextmanager","for","contextually","managing","warnings","."]
code: def __enter__(self):
      catcher = catch_warnings()
      catcher.__enter__()
      self._catchers.append(catcher)
      for args, kwargs in self._warning_specs:
          filterwarnings(*args, **kwargs)
      return self
  
imports: from collections import OrderedDict
  from datetime import datetime
  from distutils.version import StrictVersion
  from warnings import catch_warnings, filterwarnings
  import six
  import numpy
  from numpy import array_equal, broadcast, busday_count, datetime64, diff, dtype, empty, flatnonzero, hstack, isnan, nan, vectorize, where
  from numpy.lib.stride_tricks import as_strided
  from toolz import flip
label_desc: Use image node_id 2 for calling the WarningContext obj's underlying member method code with example usage: obj.__enter__() and returns: self