From d2751fb48203f5a8e1493b45974a260bb3e249bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Giampaolo=20Rodol=C3=A0?= Date: Fri, 25 Feb 2011 20:05:48 +0000 Subject: [PATCH] (issue 11214) - fix asyncore.strerror test failure on AIX --- Lib/test/test_asyncore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.50.1