(issue 11214) - fix asyncore.strerror test failure on AIX
This commit is contained in:
parent
46134645aa
commit
d2751fb482
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue