Writes some named bits of information about the current test run.
(name, value, xml)
| 35 | |
| 36 | |
| 37 | def print_annotation(name, value, xml): |
| 38 | """Writes some named bits of information about the current test run.""" |
| 39 | if xml: |
| 40 | print escape(name) + " {{{" |
| 41 | print escape(value) |
| 42 | print "}}}" |
| 43 | else: |
| 44 | print name + " {{{" |
| 45 | print value |
| 46 | print "}}}" |
| 47 | |
| 48 | |
| 49 | def flush_annotations(xml=0): |