[Python-checkins] r88605 - in python/branches/release32-maint: Lib/test/test_asyncore.py

giampaolo.rodola python-checkins at python.org
Fri Feb 25 21:07:25 CET 2011


Author: giampaolo.rodola
Date: Fri Feb 25 21:07:25 2011
New Revision: 88605

Log:
Merged revisions 88604 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88604 | giampaolo.rodola | 2011-02-25 21:05:48 +0100 (ven, 25 feb 2011) | 1 line
  
  (issue 11214) - fix asyncore.strerror test failure on AIX
........


Modified:
   python/branches/release32-maint/   (props changed)
   python/branches/release32-maint/Lib/test/test_asyncore.py

Modified: python/branches/release32-maint/Lib/test/test_asyncore.py
==============================================================================
--- python/branches/release32-maint/Lib/test/test_asyncore.py	(original)
+++ python/branches/release32-maint/Lib/test/test_asyncore.py	Fri Feb 25 21:07:25 2011
@@ -329,7 +329,7 @@
         if hasattr(os, 'strerror'):
             self.assertEqual(err, os.strerror(errno.EPERM))
         err = asyncore._strerror(-1)
-        self.assertIn("unknown error", err.lower())
+        self.assertTrue(err != "")
 
 
 class dispatcherwithsend_noread(asyncore.dispatcher_with_send):


More information about the Python-checkins mailing list