*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)
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rest.py