Skip to content

Commit f9dd580

Browse files
authored
Fix CaptureManager.__repr__ (#6697)
1 parent b4ace46 commit f9dd580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/capture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __init__(self, method) -> None:
8585
self._capture_fixture = None # type: Optional[CaptureFixture]
8686

8787
def __repr__(self):
88-
return "<CaptureManager _method={!r} _global_capturing={!r} _item_capture={!r}>".format(
88+
return "<CaptureManager _method={!r} _global_capturing={!r} _capture_fixture={!r}>".format(
8989
self._method, self._global_capturing, self._capture_fixture
9090
)
9191

0 commit comments

Comments
 (0)