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: 3.1~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4466f003745869fed0ccc1fa3625bb3db48711d;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 c242a5799103..e768321e2469 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -1430,7 +1430,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) TIPC_STYPE = 2000