Skip to content

Commit

Permalink
Merge c27809f into f6d058f
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanCut committed Oct 12, 2020
2 parents f6d058f + c27809f commit db2b188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion green/result.py
Expand Up @@ -590,7 +590,7 @@ def _reportOutcome(self, test, outcome_char, color_func, err=None, reason=""):
second_text_output = self.stream.formatLine(
test.getDescription(self.verbose), indent=2, outcome_char=outcome_char
)
if terminal_width: # pragma: no cover
if self.stream.isatty() and terminal_width: # pragma: no cover
cursor_rewind = (
int(ceil(float(len(self.first_text_output)) / terminal_width)) - 1
)
Expand Down

0 comments on commit db2b188

Please sign in to comment.