[Checkins] SVN:	zope.sendmail/trunk/src/zope/sendmail/tests/test_queue.py	Python 2.4 and 2.5 compatibility fix: threading.Thread.name	appeared in 2.6.
    Marius Gedminas 
    marius at pov.lt
       
    Wed Feb 15 16:25:51 UTC 2012
    
    
  
Log message for revision 124397:
  Python 2.4 and 2.5 compatibility fix: threading.Thread.name appeared in 2.6.
  
  
Changed:
  U   zope.sendmail/trunk/src/zope/sendmail/tests/test_queue.py
-=-
Modified: zope.sendmail/trunk/src/zope/sendmail/tests/test_queue.py
===================================================================
--- zope.sendmail/trunk/src/zope/sendmail/tests/test_queue.py	2012-02-15 02:00:47 UTC (rev 124396)
+++ zope.sendmail/trunk/src/zope/sendmail/tests/test_queue.py	2012-02-15 16:25:50 UTC (rev 124397)
@@ -43,7 +43,7 @@
         shutil.rmtree(self.dir)
 
     def test_threadName(self):
-        self.assertEquals(self.thread.name,
+        self.assertEquals(self.thread.getName(),
                           "zope.sendmail.queue.QueueProcessorThread")
 
     def test_parseMessage(self):
    
    
More information about the checkins
mailing list