[Python-checkins] cpython: test_asyncore: Actually try to received OOB data.

charles-francois.natali python-checkins at python.org
Wed Nov 2 20:34:27 CET 2011


http://hg.python.org/cpython/rev/b14b6a6a6180
changeset:   73309:b14b6a6a6180
user:        Charles-François Natali <neologix at free.fr>
date:        Wed Nov 02 20:30:59 2011 +0100
summary:
  test_asyncore: Actually try to received OOB data.

files:
  Lib/test/test_asyncore.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py
--- a/Lib/test/test_asyncore.py
+++ b/Lib/test/test_asyncore.py
@@ -675,6 +675,7 @@
 
         class TestClient(BaseClient):
             def handle_expt(self):
+                self.socket.recv(1024, socket.MSG_OOB)
                 self.flag = True
 
         class TestHandler(BaseTestHandler):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list