diff options
author | Giampaolo RodolĂ <g.rodola@gmail.com> | 2011-02-25 20:07:25 (GMT) |
---|---|---|
committer | Giampaolo RodolĂ <g.rodola@gmail.com> | 2011-02-25 20:07:25 (GMT) |
commit | 31c44031f8daa87afa84fcc1a8ab7f9fc695508d (patch) | |
tree | 044072e871b2399b9657a0ca66368633cf3dd31e | |
parent | fb9a9c8f2ff4ba2de7be7e01bd6486d28be11c19 (diff) | |
download | cpython-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
........
-rw-r--r-- | Lib/test/test_asyncore.py | 2 |
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): |