(self)
| 23 | self.spec = spec |
| 24 | |
| 25 | def runtest(self): |
| 26 | for name, value in sorted(self.spec.items()): |
| 27 | # Some custom test execution (dumb example follows). |
| 28 | if name != value: |
| 29 | raise YamlException(self, name, value) |
| 30 | |
| 31 | def repr_failure(self, excinfo): |
| 32 | """Called when self.runtest() raises an exception.""" |
nothing calls this directly
no test coverage detected