Skip to content

fix io module being initialized multiple times #558

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

Merged
merged 1 commit into from
Feb 26, 2019

Conversation

silmeth
Copy link
Contributor

@silmeth silmeth commented Feb 26, 2019

Fixes #557.

I wanted to test it somehow, but I am not sure how and whether I really should. Other modules are not tested for being imported once, and this one needs opening (ie. creating) a file (which is not portable to wasm, and litters user’s filesystem).

@silmeth silmeth changed the title fix io module being imported multiple times fix io module being initialized multiple times Feb 26, 2019
@codecov-io
Copy link

Codecov Report

Merging #558 into master will decrease coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #558      +/-   ##
==========================================
- Coverage   43.19%   43.14%   -0.05%     
==========================================
  Files          72       72              
  Lines       15893    15899       +6     
  Branches     4172     4176       +4     
==========================================
- Hits         6865     6860       -5     
- Misses       7106     7117      +11     
  Partials     1922     1922
Impacted Files Coverage Δ
vm/src/stdlib/io.rs 29.77% <100%> (-1.71%) ⬇️

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 c33abe9...5949a9b. Read the comment docs.

@windelbouwman windelbouwman merged commit a6341d3 into RustPython:master Feb 26, 2019
@silmeth silmeth deleted the io-import branch February 26, 2019 20:04
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