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