Test failed.
| 121 | """Base class for regression test exceptions.""" |
| 122 | |
| 123 | class TestFailed(Error): |
| 124 | """Test failed.""" |
| 125 | def __init__(self, msg, *args, stats=None): |
| 126 | self.msg = msg |
| 127 | self.stats = stats |
| 128 | super().__init__(msg, *args) |
| 129 | |
| 130 | def __str__(self): |
| 131 | return self.msg |
| 132 | |
| 133 | class TestFailedWithDetails(TestFailed): |
| 134 | """Test failed.""" |
no outgoing calls