From: Stefan Krah Date: Tue, 21 Jan 2014 21:58:40 +0000 (+0100) Subject: Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts. X-Git-Tag: v3.3.4rc1~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b2e5597e10ee13c62292f650df63dda215b9328;p=thirdparty%2FPython%2Fcpython.git Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts. --- diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index d6e8389eb48b..f696fe17cd2a 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -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()