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

Fix broken test: test_api.test_save() #1913

Merged
merged 1 commit into from
Jan 13, 2020
Merged

Conversation

General-Sax
Copy link

All test conditions of vegalite/v4/test_api/test_save were previously failing when run. Determined that an open file descriptor automatically returned by tempfile.mkstemp() was blocking read/write access to temp file in question, preventing test from running nominally.

Added line to immediately close the file descriptor to resolve this; afterward all tests in vegalite/v4/test_api.py run and passed.

All test conditions of vegalite/v4/test_api/test_save were previously failing when run. Determined that an open file descriptor automatically returned by tempfile.mkstemp() was blocking read/write access to temp file in question, preventing test from running nominally.

Added line to immediately close the file descriptor to resolve this; afterward all tests in vegalite/v4/test_api.py run and passed.
@General-Sax
Copy link
Author

General-Sax commented Jan 13, 2020

Sorry for submitting this and the v3 patch as two separate PR's; at least they're essentially identical, and only one line each!

@jakevdp
Copy link
Collaborator

jakevdp commented Jan 13, 2020

Thanks!

@jakevdp jakevdp merged commit cce8a4c into vega:master Jan 13, 2020
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.

2 participants