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

clean up I/O operation on closed file errors during test suite #16626

Open
zzstoatzz opened this issue Jan 6, 2025 · 0 comments
Open

clean up I/O operation on closed file errors during test suite #16626

zzstoatzz opened this issue Jan 6, 2025 · 0 comments
Labels
bug Something isn't working development Tech debt, refactors, CI, tests, and other related work.

Comments

@zzstoatzz
Copy link
Collaborator

Bug summary

often at test teardown we see

Message: 'Finished call %r'
Arguments: (get(<dropped>),)
--- Logging error ---
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/logging/__init__.py", line 1103, in emit
    stream.write(msg + self.terminator)
ValueError: I/O operation on closed file.

which doesn't break the tests, but is annoying and makes it harder to read the output

Version info

`main`

Additional context

No response

@zzstoatzz zzstoatzz added bug Something isn't working development Tech debt, refactors, CI, tests, and other related work. labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working development Tech debt, refactors, CI, tests, and other related work.
Projects
None yet
Development

No branches or pull requests

1 participant