def simple_property_generator():  
def fget(self):<EOL><INDENT>"""<STR_LIT>"""<EOL>self._exobj.add_exception(<EOL>exname="<STR_LIT>", extype=TypeError, exmsg="<STR_LIT>"<EOL>)<EOL>return self._value<EOL><DEDENT>return property(fget)<EOL>
Test if properties done via enclosed functions are properly detected.