'Start filtering deprecations.'

def __init__(self, action='ignore'):

    self.warn_context = warnings.catch_warnings()
    self.warn_context.__enter__()
    warnings.simplefilter(action, DeprecationWarning)
