[py-svn] commit/pytest: alfredodeza: add padding to durations in rep.when

Bitbucket commits-noreply at bitbucket.org
Fri Nov 18 16:39:09 CET 2011


1 new commit in pytest:


https://bitbucket.org/hpk42/pytest/changeset/b22c3b301862/
changeset:   b22c3b301862
user:        alfredodeza
date:        2011-11-18 15:59:39
summary:     add padding to durations in rep.when
affected #:  1 file

diff -r 90eef85d16b131a62e7112a8bfb5a0d6fddc18fa -r b22c3b301862b6cbd2593cc4933b87a190ee3fff _pytest/runner.py
--- a/_pytest/runner.py
+++ b/_pytest/runner.py
@@ -43,7 +43,7 @@
 
     for duration, rep in d2:
         nodeid = rep.nodeid.replace("::()::", "::")
-        tr.write_line("%02.2fs %s %s" %
+        tr.write_line("%02.2fs %-8s %s" %
             (duration, rep.when, nodeid))
 
 def pytest_sessionstart(session):

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the pytest-commit mailing list