(self)
| 686 | self.assertHasAttr(self.module, meta) |
| 687 | |
| 688 | def test_check_all(self): |
| 689 | # Check everything in __all__ exists and is public. |
| 690 | module = self.module |
| 691 | for name in module.__all__: |
| 692 | # No private names in __all__: |
| 693 | self.assertNotStartsWith(name, "_", |
| 694 | 'private name "%s" in __all__' % name) |
| 695 | # And anything in __all__ must exist: |
| 696 | self.assertHasAttr(module, name) |
| 697 | |
| 698 | |
| 699 | class StatisticsErrorTest(unittest.TestCase): |
nothing calls this directly
no test coverage detected