changeset 17743 | 6047947afb6b |
parent 17742 | 405b6bd015df |
child 17744 | 09d5b2055295 |
--- a/tests/filtercr.py Wed Sep 26 00:56:27 2012 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -#!/usr/bin/env python - -# Filter output by the progress extension to make it readable in tests - -import sys, re - -for line in sys.stdin: - line = re.sub(r'\r+[^\n]', lambda m: '\n' + m.group()[-1:], line) - sys.stdout.write(line) -print