From fea6cb0285036f3fc8331d0aa1f98f15c613f89f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Sat, 29 Oct 2011 14:29:39 +0200 Subject: [PATCH] Issue #5661: on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag... --- Lib/test/test_asyncore.py | 4 ++++ 1 file changed, 4 insertions(+) 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): -- 2.50.1