(self, stream, widths)
| 333 | stream.write(current + '\n') |
| 334 | |
| 335 | def _write_line_break(self, stream, widths): |
| 336 | # Write out something like: |
| 337 | # +-------+---------+---------+ |
| 338 | parts = [] |
| 339 | first = True |
| 340 | for width in widths: |
| 341 | if first: |
| 342 | parts.append('+%s+' % ('-' * (width - 2))) |
| 343 | first = False |
| 344 | else: |
| 345 | parts.append('%s+' % ('-' * (width - 1))) |
| 346 | parts.append('\n') |
| 347 | stream.write(''.join(parts)) |
| 348 | |
| 349 | def _render_rows(self, section, max_width, stream): |
| 350 | if not section.rows: |
no test coverage detected