def METHOD_NAME():
    old_extensions = iio.config.known_extensions.copy()
    old_plugins = iio.config.known_plugins.copy()
    iio.config.known_extensions.clear()
    iio.config.known_plugins.clear()
    yield
    iio.config.known_extensions.clear()
    iio.config.known_plugins.clear()
    iio.config.known_plugins.update(old_plugins)
    iio.config.known_extensions.update(old_extensions)