(self, test)
| 140 | self.stream.flush() |
| 141 | |
| 142 | def addUnexpectedSuccess(self, test): |
| 143 | super(TextTestResult, self).addUnexpectedSuccess(test) |
| 144 | t = self._theme |
| 145 | if self.showAll: |
| 146 | self.stream.writeln(f"{t.fail}unexpected success{t.reset}") |
| 147 | self.stream.flush() |
| 148 | elif self.dots: |
| 149 | self.stream.write(f"{t.fail}u{t.reset}") |
| 150 | self.stream.flush() |
| 151 | |
| 152 | def printErrors(self): |
| 153 | t = self._theme |