ask / mode

Python AsyncIO Services
Other
240 stars 55 forks source link

Bug fix on logging #57

Open Maggi-Andrea opened 4 years ago

Maggi-Andrea commented 4 years ago

Description

The redirect_stdouts contextmanager need to save the previous stdout and stderr before redirecting to be able to restore the situation as it has found before.

codecov-io commented 4 years ago

Codecov Report

Merging #57 into master will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
+ Coverage   96.99%   96.99%   +<.01%     
==========================================
  Files          27       27              
  Lines        3824     3826       +2     
  Branches      417      417              
==========================================
+ Hits         3709     3711       +2     
  Misses        102      102              
  Partials       13       13
Impacted Files Coverage Δ
mode/utils/logging.py 91.7% <100%> (+0.03%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9725a34...33df4b3. Read the comment docs.