Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.

This commit is contained in:
Stefan Krah 2014-01-21 22:59:57 +01:00
commit b772f2e89d

View file

@ -4687,7 +4687,7 @@ class BufferIOTest(SocketConnectedTest):
self.assertRaises(ValueError, self.cli_conn.recvfrom_into, buf, 1024)
def _testRecvFromIntoSmallBuffer(self):
self.serv_conn.send(MSG*2048)
self.serv_conn.send(MSG)
def testRecvFromIntoEmptyBuffer(self):
buf = bytearray()