Fields returns a tuple with properties.
(self, C)
| 1600 | |
| 1601 | @given(simple_classes()) |
| 1602 | def test_fields_properties(self, C): |
| 1603 | class="st">""" |
| 1604 | Fields returns a tuple with properties. |
| 1605 | class="st">""" |
| 1606 | for attribute in fields(C): |
| 1607 | assert getattr(fields(C), attribute.name) is attribute |
| 1608 | |
| 1609 | def test_generics(self): |
| 1610 | class="st">""" |