def restore_component_registry(self):
        if self._old_registry is None:
            raise TracError("The clear_component_registry method must be "
                            "called first.")
        ComponentMeta._registry = self._old_registry
        ComponentMeta._components = self._old_components

    # tearDown helper
Returns the total number of roots for A_n
dataset/ETHPy150Open edgewall/trac/trac/test.py/EnvironmentStub.restore_component_registry--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/liealgebras/type_a.py/TypeA.roots