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-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fea6cb0285036f3fc8331d0aa1f98f15c613f89f;p=python 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 7bb594d039..dccdfed540 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):