From: Charles-François Natali Date: Sat, 29 Oct 2011 12:29:39 +0000 (+0200) Subject: Issue #5661: on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag... X-Git-Tag: v3.3.0a1~1028 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fea6cb0285036f3fc8331d0aa1f98f15c613f89f;p=thirdparty%2FPython%2Fcpython.git Issue #5661: on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag... --- diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py index 7bb594d039f0..dccdfed540ca 100644 --- a/Lib/test/test_asyncore.py +++ b/Lib/test/test_asyncore.py @@ -647,6 +647,10 @@ class BaseTestAPI(unittest.TestCase): self.flag = True self.close() + def handle_expt(self): + self.flag = True + self.close() + class TestHandler(BaseTestHandler): def handle_read(self):