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

stefan.krah python-checkins at python.org
Tue Jan 21 23:07:02 CET 2014


http://hg.python.org/cpython/rev/5c4f4db8107c
changeset:   88620:5c4f4db8107c
branch:      3.3
parent:      88618:2fe0b2dcc98c
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
@@ -4542,7 +4542,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)
 
     def testRecvFromIntoEmptyBuffer(self):
         buf = bytearray()

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


More information about the Python-checkins mailing list