def restore_warnings_state(state):
    warnings.filters = state[:]
Restores the state of the warnings module when passed an object that was
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/test/utils.py/restore_warnings_state