Kaydet (Commit) d2751fb4 authored tarafından Giampaolo Rodolà's avatar Giampaolo Rodolà

(issue 11214) - fix asyncore.strerror test failure on AIX

üst 46134645
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment