Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-117968: Make the test for closed file more safe in the C API…
… tests (pythonGH-118230) The behavior of fileno() after fclose() is undefined, but it is the only practical way to check whether the file was closed. Only test this on the known platforms (Linux, Windows, macOS), where we already tested that it works.
- Loading branch information