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

Close a credentials stream #6

Open
vvorlov opened this issue Feb 23, 2020 · 0 comments · May be fixed by #7
Open

Close a credentials stream #6

vvorlov opened this issue Feb 23, 2020 · 0 comments · May be fixed by #7

Comments

@vvorlov
Copy link

vvorlov commented Feb 23, 2020

The warning appears during requests when doing unit tests via unittest package:

/venv/lib/python3.7/site-packages/requests_cloudkit/cloudkit.py:78:
ResourceWarning: unclosed file <_io.TextIOWrapper name='credentials/CloudKitKeyDev.pem' mode='r' encoding='UTF-8'>
  return open(self.key_file_name).read()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
@vvorlov vvorlov linked a pull request Feb 23, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant