Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a677d76 commit bd1d12eCopy full SHA for bd1d12e
1 file changed
Lib/test/test_socket.py
@@ -4546,6 +4546,13 @@ def testRecvFromIntoSmallBuffer(self):
4546
def _testRecvFromIntoSmallBuffer(self):
4547
self.serv_conn.send(MSG*2048)
4548
4549
+ def testRecvFromIntoEmptyBuffer(self):
4550
+ buf = bytearray()
4551
+ self.cli_conn.recvfrom_into(buf)
4552
+ self.cli_conn.recvfrom_into(buf, 0)
4553
+
4554
+ _testRecvFromIntoEmptyBuffer = _testRecvFromIntoArray
4555
4556
4557
TIPC_STYPE = 2000
4558
TIPC_LOWER = 200
0 commit comments