branch | stable |
changeset 17839 | d118a4f4fd16 |
parent 17735 | 605fe310691f |
parent 17838 | d51364b318ea |
child 17840 | af7ccbf2addc |
--- a/tests/filtercr.py Mon Oct 08 00:19:30 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