def clear_component_registry(self):
        self._old_registry = ComponentMeta._registry
        self._old_components = ComponentMeta._components
        ComponentMeta._registry = {}
Clear the component registry.
dataset/ETHPy150Open edgewall/trac/trac/test.py/EnvironmentStub.clear_component_registry