]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.
authorStefan Krah <skrah@bytereef.org>
Tue, 21 Jan 2014 21:58:40 +0000 (22:58 +0100)
committerStefan Krah <skrah@bytereef.org>
Tue, 21 Jan 2014 21:58:40 +0000 (22:58 +0100)
Lib/test/test_socket.py

index c242a57991037e2f64caa9169dfb9976f3a6fc9a..e768321e246944fa9b329a39e2873c04c0b58a05 100644 (file)
@@ -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