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

This commit is contained in:
Stefan Krah 2014-01-21 22:58:40 +01:00
parent 715476d8e3
commit 6b2e5597e1

View file

@ -4542,7 +4542,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()