Commit 60ea9288 authored by Benjamin Peterson's avatar Benjamin Peterson

merge 3.3

parents 901acb4d bd1d12e6
......@@ -4691,6 +4691,13 @@ class BufferIOTest(SocketConnectedTest):
def _testRecvFromIntoSmallBuffer(self):
self.serv_conn.send(MSG*2048)
def testRecvFromIntoEmptyBuffer(self):
buf = bytearray()
self.cli_conn.recvfrom_into(buf)
self.cli_conn.recvfrom_into(buf, 0)
_testRecvFromIntoEmptyBuffer = _testRecvFromIntoArray
TIPC_STYPE = 2000
TIPC_LOWER = 200
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment