Skip to content

Commit 283a746

Browse files
pprint: Remove conversion to int, we only accept those
1 parent 64b5b66 commit 283a746

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/_pytest/_io/pprint.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ def __init__(
7878
The maximum depth to print out nested structures.
7979
8080
"""
81-
indent = int(indent)
82-
width = int(width)
8381
if indent < 0:
8482
raise ValueError("indent must be >= 0")
8583
if depth is not None and depth <= 0:

0 commit comments

Comments
 (0)