def restore_warnings_state(state):
    warnings.filters = state[:]
Register consumption of a resource, defined by
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/test/utils.py/restore_warnings_state--crossover with--dataset/ETHPy150Open foundit/Piped/piped/resource.py/IResourceProvider.add_consumer