Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4613464 commit d2751fbCopy full SHA for d2751fb
1 file changed
Lib/test/test_asyncore.py
@@ -329,7 +329,7 @@ def test_strerror(self):
329
if hasattr(os, 'strerror'):
330
self.assertEqual(err, os.strerror(errno.EPERM))
331
err = asyncore._strerror(-1)
332
- self.assertIn("unknown error", err.lower())
+ self.assertTrue(err != "")
333
334
335
class dispatcherwithsend_noread(asyncore.dispatcher_with_send):
0 commit comments