import bpy
class UI_PT_TEST_1(bpy.types.Panel):
bl_label = "TEST"
bl_space_type = "VIEW_3D"
bl_region_type = "TOOLS"
def draw(self, context):
self.layout.operator("mesh.select_linked_pick")
bpy.utils.register_class(UI_PT_TEST_1)
aW1wb3J0IGJweQoKCmNsYXNzIFVJX1BUX1RFU1RfMShicHkudHlwZXMuUGFuZWwpOgogICAgYmxfbGFiZWwgPSAiVEVTVCIKICAgIGJsX3NwYWNlX3R5cGUgPSAiVklFV18zRCIKICAgIGJsX3JlZ2lvbl90eXBlID0gIlRPT0xTIgoKICAgIGRlZiBkcmF3KHNlbGYsIGNvbnRleHQpOgogICAgICAgIHNlbGYubGF5b3V0Lm9wZXJhdG9yKCJtZXNoLnNlbGVjdF9saW5rZWRfcGljayIpCgpicHkudXRpbHMucmVnaXN0ZXJfY2xhc3MoVUlfUFRfVEVTVF8xKQo=