@classmethod
def remove_builder(cls, builder_name: str):
    """Remove a registered builder `builder_name`.

        No reason to use this except for tests.
        """
    cls.builders.pop(builder_name, None)
    for hook_spec in cls.hooks.values():
        hook_spec.pop(builder_name, None)
