Skip to content

Commit

Permalink
Ignore some lines which covering doesn't makes sense
Browse files Browse the repository at this point in the history
I need test properly later.
  • Loading branch information
ryukinix committed Dec 27, 2017
1 parent ddf473d commit 2f9b329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions decorating/animation.py
Expand Up @@ -153,7 +153,7 @@ def space_wave(phase, amplitude=12, frequency=0.1):

def _spinner(control):
if not sys.stdout.isatty(): # not send to pipe/redirection
return
return # pragma: no cover

colorize_no_reset = partial(color.colorize, autoreset=False)

Expand Down Expand Up @@ -364,7 +364,7 @@ def stop(cls):
sys.stdout = sys.__stdout__


def _killed():
def _killed(): # pragma: no cover
AnimatedDecorator.stop()
WritingDecorator.stop()
AnimatedDecorator.spinner.stream.dump.close()
Expand Down

0 comments on commit 2f9b329

Please sign in to comment.