[py-svn] r45907 - py/trunk/py/test/rsession

fijal at codespeak.net fijal at codespeak.net
Wed Aug 22 14:43:54 CEST 2007


Author: fijal
Date: Wed Aug 22 14:43:50 2007
New Revision: 45907

Modified:
   py/trunk/py/test/rsession/reporter.py
Log:
Fix number


Modified: py/trunk/py/test/rsession/reporter.py
==============================================================================
--- py/trunk/py/test/rsession/reporter.py	(original)
+++ py/trunk/py/test/rsession/reporter.py	Wed Aug 22 14:43:50 2007
@@ -254,13 +254,13 @@
         else:
             self.failed[host] += 1
             self.failed_tests_outcome.append(event)
-            sys.stdout.write("%15s: " % hostrepr) 
+            sys.stdout.write("%15s: " % hostrepr)
             ansi_print("FAILED", esc=(31,1), newline=False, file=sys.stdout)
             sys.stdout.write("  ")
         # we should have printed 20 characters to this point
         itempath = ".".join(event.item.listnames()[1:-1])
         funname = event.item.listnames()[-1]
-        lgt = get_terminal_width() - 20
+        lgt = get_terminal_width() - 25
         # mark the function name, to be sure
         to_display = len(itempath) + len(funname) + 1
         if to_display > lgt:



More information about the pytest-commit mailing list