(self)
| 283 | @unittest.skipIf(sys.flags.optimize >= 2, |
| 284 | "Docstrings are omitted with -O2 and above") |
| 285 | def test_8(self): |
| 286 | hier = [ |
| 287 | ("t8", None), |
| 288 | ("t8 __init__"+os.extsep+"py", "'doc for t8'"), |
| 289 | ] |
| 290 | self.mkhier(hier) |
| 291 | |
| 292 | import t8 |
| 293 | self.assertEqual(t8.__doc__, "doc for t8") |
| 294 | |
| 295 | if __name__ == "__main__": |
| 296 | unittest.main() |
nothing calls this directly
no test coverage detected