def restore_template_loaders():
 loader.template_source_loaders = getattr(loader, RESTORE_LOADERS_ATTR)
 delattr(loader, RESTORE_LOADERS_ATTR)

def restore_template_loaders ( ) : loader . template_source_loaders = getattr ( loader , RESTORE_LOADERS_ATTR ) delattr ( loader , RESTORE_LOADERS_ATTR )
restores the original template loaders after :meth:setup_test_template_loader has been run .