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.
V
Victor Stinner committed
e93c39b47ea623dfaf61f80775ad4747b163efe5
Parent: 587388f
Committed by GitHub <noreply@github.com>
on 4/30/2024, 8:32:55 PM