Skip to content

Commit c7aacc9

Browse files
committed
saferepr: Remove unused setting of max_other
max_other is used by the superclass repr_instance, but we override it and use maxsize instead.
1 parent 0394ebf commit c7aacc9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/_pytest/_io/saferepr.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def __init__(self, maxsize):
2626
super().__init__()
2727
self.maxstring = maxsize
2828
self.maxsize = maxsize
29-
self.maxother = 160
3029

3130
def repr(self, x):
3231
return self._callhelper(reprlib.Repr.repr, self, x)

0 commit comments

Comments
 (0)