-
Notifications
You must be signed in to change notification settings - Fork 94
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
warnings: log_vc_info - unclosed file #5989
Comments
I've narrowed this down to cylc-flow/cylc/flow/install_plugins/log_vc_info.py Lines 257 to 260 in 8b2feae
cylc-flow/cylc/flow/pipe_poller.py Lines 29 to 30 in 8b2feae
|
Good spot, this may have the same underlying cause as #5990 |
Doesn't make sense to me, the Is |
Yes looks like it. When it reaches the end of the file it closes it - https://github.com/python/cpython/blob/ecd9946c9d1df7cd1aa15d08d72bbcc0899d272d/Lib/subprocess.py#L1750-L1754 |
Ok, then we can bung a |
Address a Python warning:
To see this warning, run the tests or try adding:
The text was updated successfully, but these errors were encountered: