From: Giampaolo RodolĂ  Date: Fri, 25 Feb 2011 20:07:25 +0000 (+0000) Subject: Merged revisions 88604 via svnmerge from X-Git-Tag: v3.2.1b1~373 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=31c44031f8daa87afa84fcc1a8ab7f9fc695508d;p=python 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 ........ --- diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py index 7b84ba2fb6..53c49a803b 100644 --- a/Lib/test/test_asyncore.py +++ b/Lib/test/test_asyncore.py @@ -329,7 +329,7 @@ class DispatcherTests(unittest.TestCase): 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):