(self)
| 5076 | class MiscTest(unittest.TestCase): |
| 5077 | |
| 5078 | def test_all(self): |
| 5079 | expected = set() |
| 5080 | for name in dir(traceback): |
| 5081 | if name.startswith('_'): |
| 5082 | continue |
| 5083 | module_object = getattr(traceback, name) |
| 5084 | if getattr(module_object, '__module__', None) == 'traceback': |
| 5085 | expected.add(name) |
| 5086 | self.assertCountEqual(traceback.__all__, expected) |
| 5087 | |
| 5088 | def test_levenshtein_distance(self): |
| 5089 | # copied from _testinternalcapi.test_edit_cost |
nothing calls this directly
no test coverage detected