Kaydet (Commit) d93d6332 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

add test for #20251

üst 9e798891
......@@ -1630,6 +1630,13 @@ class BufferIOTest(SocketConnectedTest):
buf = buffer(MSG*2048)
self.serv_conn.send(buf)
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