Skip to content

Commit d4740df

Browse files
fixup: drop the underline
1 parent c4dbee3 commit d4740df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_pytest/terminal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ def summary_warnings(self):
825825
for wr in warning_reports:
826826
reports_grouped_by_message.setdefault(wr.message, []).append(wr)
827827

828-
def _collapsed_location_report(reports):
828+
def collapsed_location_report(reports):
829829
locations = []
830830
for w in warning_reports:
831831
location = w.get_location(self.config)
@@ -846,7 +846,7 @@ def _collapsed_location_report(reports):
846846
title = "warnings summary (final)" if final else "warnings summary"
847847
self.write_sep("=", title, yellow=True, bold=False)
848848
for message, warning_reports in reports_grouped_by_message.items():
849-
maybe_location = _collapsed_location_report(warning_reports)
849+
maybe_location = collapsed_location_report(warning_reports)
850850
if maybe_location:
851851
self._tw.line(maybe_location)
852852
lines = message.splitlines()

0 commit comments

Comments
 (0)