[Zope3-checkins] CVS: Zope3 - test.py:1.17
Fred L. Drake, Jr.
fred@zope.com
Wed, 11 Dec 2002 10:30:38 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv24626
Modified Files:
test.py
Log Message:
Make the columns not shift around too much; this actually makes it
easier to watch the values.
=== Zope3/test.py 1.16 => 1.17 ===
--- Zope3/test.py:1.16 Wed Dec 11 08:20:50 2002
+++ Zope3/test.py Wed Dec 11 10:30:37 2002
@@ -143,9 +143,9 @@
def startTest(self, test):
if self._progress:
- self.stream.write('\r%d' % (self.testsRun + 1))
+ self.stream.write('\r%4d' % (self.testsRun + 1))
if self._count:
- self.stream.write('/%d (%.1f%%)' % (self._count,
+ self.stream.write('/%d (%5.1f%%)' % (self._count,
(self.testsRun + 1) * 100.0 / self._count))
if self.showAll:
self.stream.write(": ")