method: test.rest.RestReporter.prepare_source

*Not documented*
    def prepare_source(self, relline, source):

origin: test.rest.RestReporter

where:

function source:

def prepare_source(self, relline, source):
    text = []
    for num, line in enumerate(source.split('\n')):
        if num == relline:
            text.append('>>> %s' % (line,))
        else:
            text.append('    %s' % (line,))
    return '\n'.join(text)

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rest.py

traceback test.rest.RestReporter.prepare_source.0