[Python-checkins] cpython (3.2): Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.

benjamin.peterson python-checkins at python.org
Sat Mar 1 08:04:21 CET 2014


http://hg.python.org/cpython/rev/e82dcd700e8c
changeset:   89431:e82dcd700e8c
branch:      3.2
parent:      89296:29b1eebecb8e
user:        Stefan Krah <skrah at bytereef.org>
date:        Tue Jan 21 22:58:40 2014 +0100
summary:
  Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.

files:
  Lib/test/test_socket.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -1974,7 +1974,7 @@
         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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list