]> granicus.if.org Git - python/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 290c4dd0968ee2676cf71543537ccc77eea6c549..ff42c8b8ed0011862be12baf3f3cf35e8791cf8e 100644 (file)
@@ -1974,7 +1974,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