Report that the test runner is about to process the given example. (Only displays a message if verbose=True)
(self, out, test, example)
| 1284 | #///////////////////////////////////////////////////////////////// |
| 1285 | |
| 1286 | def report_start(self, out, test, example): |
| 1287 | """ |
| 1288 | Report that the test runner is about to process the given |
| 1289 | example. (Only displays a message if verbose=True) |
| 1290 | """ |
| 1291 | if self._verbose: |
| 1292 | if example.want: |
| 1293 | out('Trying:\n' + _indent(example.source) + |
| 1294 | 'Expecting:\n' + _indent(example.want)) |
| 1295 | else: |
| 1296 | out('Trying:\n' + _indent(example.source) + |
| 1297 | 'Expecting nothing\n') |
| 1298 | |
| 1299 | def report_success(self, out, test, example, got): |
| 1300 | """ |