From 4389edb63921d5bad4335ea6307f48c8305ba1fd Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 27 Feb 2009 02:37:41 -0400 Subject: Normalize "dots" output from some of the tests --- test/ConfirmTests.py | 4 ++-- test/RegressTests.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/ConfirmTests.py b/test/ConfirmTests.py index 3f0c4eb7..4b64af7c 100755 --- a/test/ConfirmTests.py +++ b/test/ConfirmTests.py @@ -93,10 +93,10 @@ def confirm_report(args): for cmd in commands: if confirm_report("%s --args-only --verify --columns=80 %s" % (ledger, re.sub('\$tests', tests, cmd))): - print ".", + sys.stdout.write(".") succeeded += 1 else: - print "E", + sys.stdout.write("E") failed += 1 print diff --git a/test/RegressTests.py b/test/RegressTests.py index 088a4263..2320a83a 100755 --- a/test/RegressTests.py +++ b/test/RegressTests.py @@ -124,9 +124,9 @@ def test_regression(test_file): if success: succeeded += 1 - print ".", + sys.stdout.write(".") else: - print "E", + sys.stdout.write("E") if not use_stdin: os.remove(tempdata[1]) -- cgit v1.2.3