mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
merge 3.3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user