summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-04-25 05:00:42 (GMT)
committerGitHub <noreply@github.com>2024-04-25 05:00:42 (GMT)
commit546cbcfa0eeeb533950bd49e30423f3d3bbd5ebe (patch)
tree4096698bc896c85dad8072363bddc2e8464b1127 /Python
parent4b10e209c76f9f36f8ae2e4d713b3a01591c1856 (diff)
downloadcpython-546cbcfa0eeeb533950bd49e30423f3d3bbd5ebe.zip
cpython-546cbcfa0eeeb533950bd49e30423f3d3bbd5ebe.tar.gz
cpython-546cbcfa0eeeb533950bd49e30423f3d3bbd5ebe.tar.bz2
gh-117968: Make the test for closed file more safe in the C API tests (GH-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.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions