diff options
-rw-r--r-- | tests/wpt/grouping_formatter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wpt/grouping_formatter.py b/tests/wpt/grouping_formatter.py index 6d4529c183a..43df1cd259b 100644 --- a/tests/wpt/grouping_formatter.py +++ b/tests/wpt/grouping_formatter.py @@ -67,7 +67,7 @@ class GroupingFormatter(base.BaseFormatter): if not self.interactive or not self.current_display: return "" return ((self.move_up + self.clear_eol) * - len(self.current_display.splitlines())) + self.current_display.count('\n')) def generate_output(self, text=None, new_display=None): if not self.interactive: |