Skip to content

Comments

fix for ValueError raised in faulthandler teardown code#11453

Merged
nicoddemus merged 3 commits intopytest-dev:mainfrom
bnomis:fix-valueerror-operation-on-closed-file-11439
Sep 20, 2023
Merged

fix for ValueError raised in faulthandler teardown code#11453
nicoddemus merged 3 commits intopytest-dev:mainfrom
bnomis:fix-valueerror-operation-on-closed-file-11439

Conversation

@bnomis
Copy link
Contributor

@bnomis bnomis commented Sep 19, 2023

Closes #11439

Fix is to add ValueError to the caught exceptions in get_stderr_fileno().

The io.UnsupportedOperation exception inherits from ValueError so this has been removed.

@nicoddemus
Copy link
Member

nicoddemus commented Sep 19, 2023

Thanks @bnomis, we appreciate the contribution!

Took the liberty of improving the changelog a bit. 👍

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.

ValueError: I/O operation on closed file

2 participants