Skip to content

Commit 0232420

Browse files
Make spinner title debug-sensitive (#420)
@boxed pointed out a better place to make the change was in the CatchOutput ctor itself, as that would make _all_ spinner titles debug sensitive with less code change.
1 parent 0f2586a commit 0232420

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mutmut/__main__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,8 @@ class CatchOutput:
627627
def __init__(self, callback=lambda s: None, spinner_title=None):
628628
self.strings = []
629629
self.spinner_title = spinner_title or ''
630+
if mutmut.config is not None and mutmut.config.debug:
631+
self.spinner_title += '\n'
630632

631633
class StdOutRedirect(TextIOBase):
632634
def __init__(self, catcher):

0 commit comments

Comments
 (0)