(self)
| 49 | |
| 50 | class OperatorTestCase: |
| 51 | def test___all__(self): |
| 52 | operator = self.module |
| 53 | actual_all = set(operator.__all__) |
| 54 | computed_all = set() |
| 55 | for name in vars(operator): |
| 56 | if name.startswith('__'): |
| 57 | continue |
| 58 | value = getattr(operator, name) |
| 59 | if value.__module__ in ('operator', '_operator'): |
| 60 | computed_all.add(name) |
| 61 | self.assertSetEqual(computed_all, actual_all) |
| 62 | |
| 63 | def test_lt(self): |
| 64 | operator = self.module |
nothing calls this directly
no test coverage detected