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
........
This commit is contained in:
Giampaolo Rodolà 2011-02-25 20:07:25 +00:00
parent fb9a9c8f2f
commit 31c44031f8

View File

@ -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):