(self)
| 437 | @unittest.skipIf(sys.flags.optimize >= 2, |
| 438 | "Docstrings are omitted with -O2 and above") |
| 439 | def test_field_doc_reuse(self): |
| 440 | P = namedtuple('P', ['m', 'n']) |
| 441 | Q = namedtuple('Q', ['o', 'p']) |
| 442 | self.assertIs(P.m.__doc__, Q.o.__doc__) |
| 443 | self.assertIs(P.n.__doc__, Q.p.__doc__) |
| 444 | |
| 445 | @support.cpython_only |
| 446 | def test_field_repr(self): |
nothing calls this directly
no test coverage detected