(self)
| 4847 | class MiscTest(unittest.TestCase): |
| 4848 | |
| 4849 | def test_all(self): |
| 4850 | expected = set() |
| 4851 | for name in dir(traceback): |
| 4852 | if name.startswith('_'): |
| 4853 | continue |
| 4854 | module_object = getattr(traceback, name) |
| 4855 | if getattr(module_object, '__module__', None) == 'traceback': |
| 4856 | expected.add(name) |
| 4857 | self.assertCountEqual(traceback.__all__, expected) |
| 4858 | |
| 4859 | def test_levenshtein_distance(self): |
| 4860 | # copied from _testinternalcapi.test_edit_cost |
nothing calls this directly
no test coverage detected