Merge pull request #2571 from ahartoto/master
Ensure final collected line doesn't include artifacts of previous write
This commit is contained in:
commit
3578f4e405
|
@ -290,6 +290,9 @@ class TerminalReporter:
|
||||||
if self.isatty:
|
if self.isatty:
|
||||||
if final:
|
if final:
|
||||||
line += " \n"
|
line += " \n"
|
||||||
|
# Rewrite with empty line so we will not see the artifact of
|
||||||
|
# previous write
|
||||||
|
self.rewrite('')
|
||||||
self.rewrite(line, bold=True)
|
self.rewrite(line, bold=True)
|
||||||
else:
|
else:
|
||||||
self.write_line(line)
|
self.write_line(line)
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Ensure final collected line doesn't include artifacts of previous write.
|
Loading…
Reference in New Issue