Skip to content

Commit

Permalink
Add missing parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jan 13, 2025
1 parent 7debe69 commit 6faf53c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/unittest/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def _exc_info_to_string(self, err, test):
from _colorize import can_colorize

colorize = hasattr(self, "stream") and can_colorize(self.stream)
msgLines = list(tb_e.format(colorize=colorize)
msgLines = list(tb_e.format(colorize=colorize))

if self.buffer:
output = sys.stdout.getvalue()
Expand Down

0 comments on commit 6faf53c

Please sign in to comment.