I tried running the UI Tool template (template-python-UI Tool Simple). The registration went fine and I could see the new 'My Circle Select' group on tool shelf. But when I try unregistering the tool by changing register to unregister in
__name__ == "__main__" condition, I get an error:
AttributeError: type object 'MyTool' has no attribute '_bl_tool'
Am I missing something?