[Python-checkins] r88604 - python/branches/py3k/Lib/test/test_asyncore.py
giampaolo.rodola
python-checkins at python.org
Fri Feb 25 21:05:49 CET 2011
Author: giampaolo.rodola
Date: Fri Feb 25 21:05:48 2011
New Revision: 88604
Log:
(issue 11214) - fix asyncore.strerror test failure on AIX
Modified:
python/branches/py3k/Lib/test/test_asyncore.py
Modified: python/branches/py3k/Lib/test/test_asyncore.py
==============================================================================
--- python/branches/py3k/Lib/test/test_asyncore.py (original)
+++ python/branches/py3k/Lib/test/test_asyncore.py Fri Feb 25 21:05:48 2011
@@ -329,7 +329,7 @@
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):
More information about the Python-checkins
mailing list