GeezerVison is showing github.com — build: fix line length off by one error · nodejs/node@b72bc11
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: tools/test.py +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -423,7 +423,7 @@ def PrintProgress(self, name): |
423 | 423 | } |
424 | 424 | status = self.Truncate(status, 78) |
425 | 425 | self.last_status_length = len(status) |
426 | | - print(status, end=' ') |
| 426 | + print(status, end='') |
427 | 427 | sys.stdout.flush() |
428 | 428 |
|
429 | 429 |
|
@@ -438,7 +438,7 @@ def __init__(self, cases, flaky_tests_mode): |
438 | 438 | super(ColorProgressIndicator, self).__init__(cases, flaky_tests_mode, templates) |
439 | 439 |
|
440 | 440 | def ClearLine(self, last_line_length): |
441 | | - print("\033[1K\r", end=' ') |
| 441 | + print("\033[1K\r", end='') |
442 | 442 |
|
443 | 443 |
|
444 | 444 | class MonochromeProgressIndicator(CompactProgressIndicator): |
@@ -454,7 +454,7 @@ def __init__(self, cases, flaky_tests_mode): |
454 | 454 | super(MonochromeProgressIndicator, self).__init__(cases, flaky_tests_mode, templates) |
455 | 455 |
|
456 | 456 | def ClearLine(self, last_line_length): |
457 | | - print(("\r" + (" " * last_line_length) + "\r"), end=' ') |
| 457 | + print(("\r" + (" " * last_line_length) + "\r"), end='') |
458 | 458 |
|
459 | 459 |
|
460 | 460 | PROGRESS_INDICATORS = { |
|