summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncore.py
diff options
context:
space:
mode:
authorGiampaolo RodolĂ  <g.rodola@gmail.com>2011-02-25 20:07:25 (GMT)
committerGiampaolo RodolĂ  <g.rodola@gmail.com>2011-02-25 20:07:25 (GMT)
commit31c44031f8daa87afa84fcc1a8ab7f9fc695508d (patch)
tree044072e871b2399b9657a0ca66368633cf3dd31e /Lib/test/test_asyncore.py
parentfb9a9c8f2ff4ba2de7be7e01bd6486d28be11c19 (diff)
downloadcpython-31c44031f8daa87afa84fcc1a8ab7f9fc695508d.zip
cpython-31c44031f8daa87afa84fcc1a8ab7f9fc695508d.tar.gz
cpython-31c44031f8daa87afa84fcc1a8ab7f9fc695508d.tar.bz2
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 ........
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):