def METHOD_NAME(self):
    class EnumA(Enum):
        Z = 0
        A = 10
        B = 20
    self.assertRepr(EnumA.const(None), "(const 5'd0)")
    self.assertRepr(EnumA.const(10), "(const 5'd10)")
    self.assertRepr(EnumA.const(EnumA.A), "(const 5'd10)")