summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncore.py
diff options
context:
space:
mode:
authorGiampaolo RodolĂ  <g.rodola@gmail.com>2011-02-25 20:05:48 (GMT)
committerGiampaolo RodolĂ  <g.rodola@gmail.com>2011-02-25 20:05:48 (GMT)
commitd2751fb48203f5a8e1493b45974a260bb3e249bc (patch)
tree0d86e0f05e3fb6bb87a017694a2a0269d5f994a8 /Lib/test/test_asyncore.py
parent46134645aaf10aa7f871438d00ee7a61600307db (diff)
downloadcpython-d2751fb48203f5a8e1493b45974a260bb3e249bc.zip
cpython-d2751fb48203f5a8e1493b45974a260bb3e249bc.tar.gz
cpython-d2751fb48203f5a8e1493b45974a260bb3e249bc.tar.bz2
(issue 11214) - fix asyncore.strerror test failure on AIX
Diffstat (limited to 'Lib/test/test_asyncore.py')
-rw-r--r--Lib/test/test_asyncore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py
index 7b84ba2..53c49a8 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):