diff options
author | Ran Benita <ran234@gmail.com> | 2019-07-14 22:21:15 +0300 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2019-07-14 22:50:14 +0300 |
commit | c7aacc96bbeae1590342f6b10f2364751f187c0c (patch) | |
tree | d42b7871ee8bb94bb6d37b8a8ac3187eef5c34f9 /src/_pytest/_io | |
parent | 0394ebffee0b711c78fb81e4e057f6190a111250 (diff) | |
download | pytest-c7aacc96bbeae1590342f6b10f2364751f187c0c.tar.gz |
saferepr: Remove unused setting of max_other
max_other is used by the superclass repr_instance, but we override it
and use maxsize instead.
Diffstat (limited to 'src/_pytest/_io')
-rw-r--r-- | src/_pytest/_io/saferepr.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/_pytest/_io/saferepr.py b/src/_pytest/_io/saferepr.py index 5a4c76b4b..a97411876 100644 --- a/src/_pytest/_io/saferepr.py +++ b/src/_pytest/_io/saferepr.py @@ -26,7 +26,6 @@ class SafeRepr(reprlib.Repr): super().__init__() self.maxstring = maxsize self.maxsize = maxsize - self.maxother = 160 def repr(self, x): return self._callhelper(reprlib.Repr.repr, self, x) |