diff options
-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 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): |