Home | History | Annotate | Download | only in test

Lines Matching refs:property

1 # Test case for property
23 @property
55 spam = property(_get_spam, doc="spam spam spam")
70 @property
136 foo = property(foo)
139 # check that the property's __isabstractmethod__ descriptor does the
150 foo = property(foo)
156 p = property(doc='basic')
166 @property
176 # Issue 5890: subclasses of property do not preserve method __doc__ strings
177 class PropertySub(property):
178 """This is a subclass of property"""
180 class PropertySubSlots(property):
181 """This is a subclass of property that defines __slots__"""
204 """spam wrapped in property subclass"""
208 "spam wrapped in property subclass")
217 """spam wrapped in property subclass"""
229 "spam wrapped in property subclass")
241 "spam wrapped in property subclass")