summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncore.py
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-10-29 12:29:39 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-10-29 12:29:39 (GMT)
commitfea6cb0285036f3fc8331d0aa1f98f15c613f89f (patch)
treebdd9c41ce3309194e27aa5f6897f9814183a5156 /Lib/test/test_asyncore.py
parentd4621190c9206cb01a1ca03d1cc8ae0d7e9f90d9 (diff)
downloadcpython-fea6cb0285036f3fc8331d0aa1f98f15c613f89f.zip
cpython-fea6cb0285036f3fc8331d0aa1f98f15c613f89f.tar.gz
cpython-fea6cb0285036f3fc8331d0aa1f98f15c613f89f.tar.bz2
Issue #5661: on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag...
Diffstat (limited to 'Lib/test/test_asyncore.py')
-rw-r--r--Lib/test/test_asyncore.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py
index 7bb594d..dccdfed 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):