(self)
| 413 | @unittest.skipIf(sys.flags.optimize >= 2, |
| 414 | "Docstrings are omitted with -O2 and above") |
| 415 | def test_factory_doc_attr(self): |
| 416 | Point = namedtuple('Point', 'x y') |
| 417 | self.assertEqual(Point.__doc__, 'Point(x, y)') |
| 418 | Point.__doc__ = '2D point' |
| 419 | self.assertEqual(Point.__doc__, '2D point') |
| 420 | |
| 421 | @unittest.skipIf(sys.flags.optimize >= 2, |
| 422 | "Docstrings are omitted with -O2 and above") |
nothing calls this directly
no test coverage detected