mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.
This commit is contained in:
commit
b772f2e89d
1 changed files with 1 additions and 1 deletions
|
@ -4687,7 +4687,7 @@ class BufferIOTest(SocketConnectedTest):
|
||||||
self.assertRaises(ValueError, self.cli_conn.recvfrom_into, buf, 1024)
|
self.assertRaises(ValueError, self.cli_conn.recvfrom_into, buf, 1024)
|
||||||
|
|
||||||
def _testRecvFromIntoSmallBuffer(self):
|
def _testRecvFromIntoSmallBuffer(self):
|
||||||
self.serv_conn.send(MSG*2048)
|
self.serv_conn.send(MSG)
|
||||||
|
|
||||||
def testRecvFromIntoEmptyBuffer(self):
|
def testRecvFromIntoEmptyBuffer(self):
|
||||||
buf = bytearray()
|
buf = bytearray()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue