[Python-checkins] cpython (2.7): Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.
stefan.krah
python-checkins at python.org
Tue Jan 21 23:07:05 CET 2014
http://hg.python.org/cpython/rev/b6c5a37b221f
changeset: 88622:b6c5a37b221f
branch: 2.7
parent: 88617:d55d1cbf5f9a
user: Stefan Krah <skrah at bytereef.org>
date: Tue Jan 21 23:05:52 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
@@ -1625,7 +1625,7 @@
def _testRecvFromIntoSmallBuffer(self):
with test_support.check_py3k_warnings():
- buf = buffer(MSG*2048)
+ buf = buffer(MSG)
self.serv_conn.send(buf)
def testRecvFromIntoEmptyBuffer(self):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list