[Zope3-checkins] CVS: Zope3 - test.py:1.42

Fred L. Drake, Jr. fred@zope.com
Tue, 25 Mar 2003 17:51:24 -0500


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv14529

Modified Files:
	test.py 
Log Message:
getShortDescription():  simplify -- don't worry about showing 4 dots
    instead of three when truncating a module name; leaving an extra
    dot actually causes there to be less visual "flash".


=== Zope3/test.py 1.41 => 1.42 ===
--- Zope3/test.py:1.41	Tue Mar 25 12:54:10 2003
+++ Zope3/test.py	Tue Mar 25 17:51:24 2003
@@ -231,8 +231,6 @@
                 pre = s[:pos+2]
                 w = self._maxWidth - (pos + 5)
                 post = s[-w:]
-                if post[:1] == ".":
-                    post = post[1:]
                 s = "%s...%s" % (pre, post)
         return s