summaryrefslogtreecommitdiff
path: root/src/_pytest/_io
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2020-02-12 16:07:57 +0100
committerGitHub <noreply@github.com>2020-02-12 16:07:57 +0100
commitb7ad4c2bed3906e1a12d9bb1829328b4045a72de (patch)
tree8c75ea3e98979c6e8c8e04e5959c336d66c27e59 /src/_pytest/_io
parentd79179a239ac89b318be47c99ff965376d177257 (diff)
downloadpytest-b7ad4c2bed3906e1a12d9bb1829328b4045a72de.tar.gz
_pformat_dispatch: pass through args (#6715)
Diffstat (limited to 'src/_pytest/_io')
-rw-r--r--src/_pytest/_io/saferepr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_pytest/_io/saferepr.py b/src/_pytest/_io/saferepr.py
index 884f0a21e..23af4d0bb 100644
--- a/src/_pytest/_io/saferepr.py
+++ b/src/_pytest/_io/saferepr.py
@@ -99,5 +99,5 @@ class AlwaysDispatchingPrettyPrinter(pprint.PrettyPrinter):
def _pformat_dispatch(object, indent=1, width=80, depth=None, *, compact=False):
return AlwaysDispatchingPrettyPrinter(
- indent=1, width=80, depth=None, compact=False
+ indent=indent, width=width, depth=depth, compact=compact
).pformat(object)