(self)
| 1775 | |
| 1776 | @requires_docstrings |
| 1777 | def test_property(self): |
| 1778 | self.assertEqual(self._get_summary_lines(Rect.area), """\ |
| 1779 | area |
| 1780 | Area of the rect |
| 1781 | """) |
| 1782 | # inherits the docstring from Rect.area |
| 1783 | self.assertEqual(self._get_summary_lines(Square.area), """\ |
| 1784 | area |
| 1785 | Area of the rect |
| 1786 | """) |
| 1787 | self.assertIn(""" |
| 1788 | | area |
| 1789 | | Area of the rect |
| 1790 | """, pydoc.plain(pydoc.render_doc(Rect))) |
| 1791 | |
| 1792 | @requires_docstrings |
| 1793 | def test_custom_non_data_descriptor(self): |
nothing calls this directly
no test coverage detected