summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo RodolĂ  <g.rodola@gmail.com>2011-02-25 20:07:51 +0000
committerGiampaolo RodolĂ  <g.rodola@gmail.com>2011-02-25 20:07:51 +0000
commit5217d3f9ca3ee5357f9dd9c47cfba04a00596c4a (patch)
tree0e58d70fc3a33b6043a8418774f48e0e310fcaa7
parent63390b3cbb69ff524b940413d7eb70b7a26aee4d (diff)
downloadcpython-git-5217d3f9ca3ee5357f9dd9c47cfba04a00596c4a.tar.gz
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 ........
-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 d5e6fa3a01..7d1a3cb33f 100644
--- a/Lib/test/test_asyncore.py
+++ b/Lib/test/test_asyncore.py
@@ -330,7 +330,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):