[py-svn] py-trunk commit 58359564336b: refine to allow more characters for instance reprs like it was before

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Apr 29 16:20:56 CEST 2010


# HG changeset patch -- Bitbucket.org
# Project py-trunk
# URL http://bitbucket.org/hpk42/py-trunk/overview
# User holger krekel <holger at merlinux.eu>
# Date 1272549179 -7200
# Node ID 58359564336bea792644504ff0f74aa9c3fee299
# Parent  7e17beb6c7c0e28f35f4ee60ce6d075e03f72446
refine to allow more characters for instance reprs like it was before

--- a/py/_io/saferepr.py
+++ b/py/_io/saferepr.py
@@ -52,4 +52,5 @@ def saferepr(obj, maxsize=240):
     srepr = SafeRepr()
     srepr.maxstring = maxsize
     srepr.maxsize = maxsize
+    srepr.maxother = 160
     return srepr.repr(obj)



More information about the pytest-commit mailing list