def reset_module_registry(module):
    try:
        registry = module.__warningregistry__
    except __HOLE__:
        pass
    else:
        registry.clear()
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_py3kwarn.py/reset_module_registry