| 2518 | return "Doctest: " + self._dt_test.name |
| 2519 | |
| 2520 | class SkipDocTestCase(DocTestCase): |
| 2521 | def __init__(self, module): |
| 2522 | self.module = module |
| 2523 | super().__init__(None) |
| 2524 | |
| 2525 | def setUp(self): |
| 2526 | self.skipTest("DocTestSuite will not work with -O2 and above") |
| 2527 | |
| 2528 | def test_skip(self): |
| 2529 | pass |
| 2530 | |
| 2531 | def shortDescription(self): |
| 2532 | return "Skipping tests from %s" % self.module.__name__ |
| 2533 | |
| 2534 | __str__ = shortDescription |
| 2535 | |
| 2536 | |
| 2537 | class _DocTestSuite(unittest.TestSuite): |
no outgoing calls
searching dependent graphs…