Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore TeeStdin.getvalue() ValueError #39

Merged
merged 1 commit into from
Aug 6, 2019
Merged

Conversation

jayvdb
Copy link
Contributor

@jayvdb jayvdb commented Aug 6, 2019

Prior to 3e8eb59, TeeStdin.getvalue raised a ValueError
if the input stream was closed.

That change transformed it to a confusing AttributeError.

Restore the ValueError, and raise ValueError when stream is detached.

Prior to 3e8eb59, TeeStdin.getvalue raised a ValueError
if the input stream was closed.

That change transformed it to a confusing AttributeError.

Restore the ValueError, and raise ValueError when stream is detached.
@codecov-io
Copy link

Codecov Report

Merging #39 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #39   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           3      3           
  Lines          50     52    +2     
=====================================
+ Hits           50     52    +2
Impacted Files Coverage Δ
src/stdio_mgr/stdio_mgr.py 100% <100%> (ø) ⬆️

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 0041f91...0be5a79. Read the comment docs.

@bskinn bskinn merged commit 0d434b6 into bskinn:master Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants