[Checkins] SVN: zope.testrunner/trunk/ Update fix for LP #221151 to a spelliing compatible with Pythont 2.4.

Tres Seaver tseaver at palladion.com
Sat Jun 26 11:32:53 EDT 2010


Log message for revision 113895:
  Update fix for LP #221151 to a spelliing compatible with Pythont 2.4.
  

Changed:
  U   zope.testrunner/trunk/CHANGES.txt
  U   zope.testrunner/trunk/src/zope/testrunner/find.py

-=-
Modified: zope.testrunner/trunk/CHANGES.txt
===================================================================
--- zope.testrunner/trunk/CHANGES.txt	2010-06-26 15:23:31 UTC (rev 113894)
+++ zope.testrunner/trunk/CHANGES.txt	2010-06-26 15:32:53 UTC (rev 113895)
@@ -4,12 +4,13 @@
 4.0.0 (unreleased)
 ==================
 
-- TBD
+- Update fix for LP #221151 to a spelliing compatible with Pythont 2.4.
 
+
 4.0.0b4 (2010-06-23)
 ====================
 
-- Package as a zipefile to work around Python 2.4 distutils bug (no
+- Package as a zipfile to work around Python 2.4 distutils bug (no
   feature changes or bugfixes in ``zope.testrunner`` itself).
 
 

Modified: zope.testrunner/trunk/src/zope/testrunner/find.py
===================================================================
--- zope.testrunner/trunk/src/zope/testrunner/find.py	2010-06-26 15:23:31 UTC (rev 113894)
+++ zope.testrunner/trunk/src/zope/testrunner/find.py	2010-06-26 15:32:53 UTC (rev 113895)
@@ -103,11 +103,6 @@
     ...
     TypeError: If post_mortem is specified, full exc_info must be passed!
     """
-    def _getTestMethodDoc(self):
-        return 'StartUpFailure: import errors in %s.' % self.module
-
-    _testMethodDoc = property(_getTestMethodDoc,)
-
     def __init__(self, options, module, exc_info):
         if options.post_mortem:
             for item in exc_info:
@@ -118,6 +113,9 @@
         self.module = module
         self.exc_info = exc_info
 
+    def shortDescription(self):
+        return 'StartUpFailure: import errors in %s.' % self.module
+
     def __repr__(self):
         return '<StartUpFailure module=%s>' % self.module
 



More information about the checkins mailing list