diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-04-25 05:00:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 05:00:42 (GMT) |
commit | 546cbcfa0eeeb533950bd49e30423f3d3bbd5ebe (patch) | |
tree | 4096698bc896c85dad8072363bddc2e8464b1127 /Lib/test/test_compare.py | |
parent | 4b10e209c76f9f36f8ae2e4d713b3a01591c1856 (diff) | |
download | cpython-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 'Lib/test/test_compare.py')
0 files changed, 0 insertions, 0 deletions