commit | e93c39b47ea623dfaf61f80775ad4747b163efe5 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Apr 30 22:32:55 2024 +0200 |
committer | GitHub <noreply@github.com> | Tue Apr 30 22:32:55 2024 +0200 |
tree | 0747773aa2298b73ff300c94dae89974dfc8f796 | |
parent | 587388ff22dc7cfa4b66722daf0d33cd804af9f2 [diff] |
gh-118422: Fix run_fileexflags() test (#118429) Don't test the undefined behavior of fileno() on a closed file, but use fstat() as a reliable test if the file was closed or not.